org.spongepowered.asm.mixin.gen.Accessor Java Examples

The following examples show how to use org.spongepowered.asm.mixin.gen.Accessor. You can vote up the ones you like or vote down the ones you don't like, and go to the original project or source file by following the links above each example. You may check out the related API usage on the sidebar.
Example #1
Source File: CustomPayloadC2SAccessor.java    From multiconnect with MIT License 4 votes vote down vote up
@Accessor("data")
PacketByteBuf multiconnect_getData();
 
Example #2
Source File: AccessorLevelGeneratorType.java    From patchwork-api with GNU Lesser General Public License v2.1 4 votes vote down vote up
@Accessor("TYPES")
static void patchwork$setTypes(LevelGeneratorType[] types) {
	throw new RuntimeException("Failed to create accessor: LevelGeneratorType#TYPES!");
}
 
Example #3
Source File: MixinSimpleRegistry.java    From multiconnect with MIT License 4 votes vote down vote up
@Accessor
@Override
public abstract BiMap<Identifier, T> getEntriesById();
 
Example #4
Source File: ExplosionAccessor.java    From fabric-carpet with MIT License 4 votes vote down vote up
@Accessor
double getY();
 
Example #5
Source File: PlayerActionC2SPacketMixin.java    From fabric-carpet with MIT License 4 votes vote down vote up
@Accessor("pos")
void setPos(BlockPos pos);
 
Example #6
Source File: ClientConnectionAccessor.java    From patchwork-api with GNU Lesser General Public License v2.1 4 votes vote down vote up
@Accessor("channel")
Channel patchwork$getChannel();
 
Example #7
Source File: MixinConnectScreen.java    From multiconnect with MIT License 4 votes vote down vote up
@Accessor
@Override
public abstract Screen getParent();
 
Example #8
Source File: RedstoneWireBlockMixin.java    From fabric-carpet with MIT License 4 votes vote down vote up
@Override
@Accessor("wiresGivePower")
public abstract boolean getWiresGivePower();
 
Example #9
Source File: TagContainerAccessor.java    From multiconnect with MIT License 4 votes vote down vote up
@Accessor("entries")
void multiconnect_setEntries(BiMap<Identifier, Tag<T>> entries);
 
Example #10
Source File: MixinSimpleRegistry.java    From multiconnect with MIT License 4 votes vote down vote up
@Accessor
@Override
public abstract BiMap<RegistryKey, T> getEntriesByKey();
 
Example #11
Source File: HandshakePacketAccessor.java    From multiconnect with MIT License 4 votes vote down vote up
@Accessor
void setProtocolVersion(int version);
 
Example #12
Source File: MixinNetworkState.java    From multiconnect with MIT License 4 votes vote down vote up
@Accessor
@Override
public abstract Map<NetworkSide, ? extends IPacketHandler<?>> getPacketHandlers();
 
Example #13
Source File: WolfEntityAccessor.java    From multiconnect with MIT License 4 votes vote down vote up
@Accessor("COLLAR_COLOR")
static TrackedData<Integer> getCollarColor() {
    return MixinHelper.fakeInstance();
}
 
Example #14
Source File: BoatEntityAccessor.java    From multiconnect with MIT License 4 votes vote down vote up
@Accessor("BUBBLE_WOBBLE_TICKS")
static TrackedData<Integer> getBubbleWobbleTicks() {
    return MixinHelper.fakeInstance();
}
 
Example #15
Source File: ChunkPalettedStorageFixAccessor.java    From multiconnect with MIT License 4 votes vote down vote up
@Accessor
static BitSet getBlocksNeedingSideUpdate() {
    return MixinHelper.fakeInstance();
}
 
Example #16
Source File: TrackedDataHandlerRegistryAccessor.java    From multiconnect with MIT License 4 votes vote down vote up
@Accessor("field_13328")
static Int2ObjectBiMap<TrackedDataHandler<?>> getHandlers() {
    return MixinHelper.fakeInstance();
}
 
Example #17
Source File: CustomPayloadC2SAccessor.java    From multiconnect with MIT License 4 votes vote down vote up
@Accessor("channel")
Identifier multiconnect_getChannel();
 
Example #18
Source File: CommandBlockMinecartC2SAccessor.java    From multiconnect with MIT License 4 votes vote down vote up
@Accessor
int getEntityId();
 
Example #19
Source File: AreaEffectCloudEntityAccessor.java    From multiconnect with MIT License 4 votes vote down vote up
@Accessor("PARTICLE_ID")
static TrackedData<ParticleEffect> getParticleId() {
    return MixinHelper.fakeInstance();
}
 
Example #20
Source File: EntityAccessor.java    From multiconnect with MIT License 4 votes vote down vote up
@Accessor("CUSTOM_NAME")
static TrackedData<Optional<Text>> getCustomName() {
    return MixinHelper.fakeInstance();
}
 
Example #21
Source File: ExplosionAccessor.java    From fabric-carpet with MIT License 4 votes vote down vote up
@Accessor
double getX();
 
Example #22
Source File: FlowerPotBlockAccessor.java    From multiconnect with MIT License 4 votes vote down vote up
@Accessor("CONTENT_TO_POTTED")
static Map<Block, Block> getContentToPotted() {
    return MixinHelper.fakeInstance();
}
 
Example #23
Source File: StatsCounterFixAccessor.java    From multiconnect with MIT License 4 votes vote down vote up
@Accessor("RENAMED_ENTITIES")
static Map<String, String> getRenamedEntities() {
    return MixinHelper.fakeInstance();
}
 
Example #24
Source File: PigEntityAccessor.java    From multiconnect with MIT License 4 votes vote down vote up
@Accessor("BOOST_TIME")
static TrackedData<Integer> getBoostTime() {
    return MixinHelper.fakeInstance();
}
 
Example #25
Source File: WolfEntityAccessor.java    From multiconnect with MIT License 4 votes vote down vote up
@Accessor("BEGGING")
static TrackedData<Boolean> getBegging() {
    return MixinHelper.fakeInstance();
}
 
Example #26
Source File: TrackerUpdatePacketAccessor.java    From multiconnect with MIT License 4 votes vote down vote up
@Accessor
void setTrackedValues(List<DataTracker.Entry<?>> entries);
 
Example #27
Source File: TrackerUpdatePacketAccessor.java    From multiconnect with MIT License 4 votes vote down vote up
@Accessor
void setId(int id);
 
Example #28
Source File: EndermanEntityAccessor.java    From multiconnect with MIT License 4 votes vote down vote up
@Accessor("PROVOKED")
static TrackedData<Boolean> getProvoked() {
    return MixinHelper.fakeInstance();
}
 
Example #29
Source File: TridentEntityAccessor.java    From multiconnect with MIT License 4 votes vote down vote up
@Accessor("ENCHANTED")
static TrackedData<Boolean> getHasEnchantmentGlint() {
    return MixinHelper.fakeInstance();
}
 
Example #30
Source File: LivingEntityAccessor.java    From multiconnect with MIT License 4 votes vote down vote up
@Accessor("STINGER_COUNT")
static TrackedData<Integer> getStingerCount() {
    return MixinHelper.fakeInstance();
}