Revert missed Movable TE changes
This commit is contained in:
7 files changed
+15
-15
No files matched your search
+1
-1
@@ -9,7 +9,7 @@ import org.spongepowered.asm.mixin.Mutable;
|
||||
import org.spongepowered.asm.mixin.Shadow;
|
||||
|
||||
@Mixin(BlockEntity.class)
|
||||
public abstract class BlockEntity_movableBEMixin implements BlockEntityInterface
|
||||
public abstract class BlockEntity_movableTEMixin implements BlockEntityInterface
|
||||
{
|
||||
@Mutable
|
||||
@Shadow @Final protected BlockPos worldPosition;
|
||||
+1
-1
@@ -17,7 +17,7 @@ import org.spongepowered.asm.mixin.injection.callback.CallbackInfo;
|
||||
import org.spongepowered.asm.mixin.injection.callback.LocalCapture;
|
||||
|
||||
@Mixin(PistonHeadRenderer.class)
|
||||
public abstract class PistonBlockEntityRenderer_movableBEMixin implements BlockEntityRenderer<PistonMovingBlockEntity>
|
||||
public abstract class PistonBlockEntityRenderer_movableTEMixin implements BlockEntityRenderer<PistonMovingBlockEntity>
|
||||
{
|
||||
BlockEntityRenderDispatcher dispatcher;
|
||||
@Inject(method = "<init>", at = @At("TAIL"))
|
||||
+2
-2
@@ -23,7 +23,7 @@ import org.spongepowered.asm.mixin.injection.callback.CallbackInfo;
|
||||
import org.spongepowered.asm.mixin.injection.callback.CallbackInfoReturnable;
|
||||
|
||||
@Mixin(PistonMovingBlockEntity.class)
|
||||
public abstract class PistonBlockEntity_movableBEMixin extends BlockEntity implements PistonBlockEntityInterface
|
||||
public abstract class PistonBlockEntity_movableTEMixin extends BlockEntity implements PistonBlockEntityInterface
|
||||
{
|
||||
@Shadow
|
||||
private boolean isSourcePiston;
|
||||
@@ -34,7 +34,7 @@ public abstract class PistonBlockEntity_movableBEMixin extends BlockEntity imple
|
||||
private boolean renderCarriedBlockEntity = false;
|
||||
private boolean renderSet = false;
|
||||
|
||||
public PistonBlockEntity_movableBEMixin(BlockEntityType<?> blockEntityType, BlockPos blockPos, BlockState blockState) {
|
||||
public PistonBlockEntity_movableTEMixin(BlockEntityType<?> blockEntityType, BlockPos blockPos, BlockState blockState) {
|
||||
super(blockEntityType, blockPos, blockState);
|
||||
}
|
||||
|
||||
+2
-2
@@ -27,9 +27,9 @@ import java.util.List;
|
||||
import java.util.Map;
|
||||
|
||||
@Mixin(PistonBaseBlock.class)
|
||||
public abstract class PistonBlock_movableBEMixin extends DirectionalBlock
|
||||
public abstract class PistonBlock_movableTEMixin extends DirectionalBlock
|
||||
{
|
||||
protected PistonBlock_movableBEMixin(Properties block$Settings_1)
|
||||
protected PistonBlock_movableTEMixin(Properties block$Settings_1)
|
||||
{
|
||||
super(block$Settings_1);
|
||||
}
|
||||
+2
-2
@@ -27,13 +27,13 @@ import org.spongepowered.asm.mixin.injection.At;
|
||||
import org.spongepowered.asm.mixin.injection.Redirect;
|
||||
|
||||
@Mixin(LevelChunk.class)
|
||||
public abstract class WorldChunk_movableBEMixin extends ChunkAccess implements WorldChunkInterface
|
||||
public abstract class WorldChunk_movableTEMixin extends ChunkAccess implements WorldChunkInterface
|
||||
{
|
||||
@Shadow
|
||||
@Final
|
||||
Level level;
|
||||
|
||||
public WorldChunk_movableBEMixin(ChunkPos pos, UpgradeData upgradeData, LevelHeightAccessor heightLimitView, Registry<Biome> biome, long inhabitedTime, @Nullable LevelChunkSection[] sectionArrayInitializer, @Nullable BlendingData blendingData) {
|
||||
public WorldChunk_movableTEMixin(ChunkPos pos, UpgradeData upgradeData, LevelHeightAccessor heightLimitView, Registry<Biome> biome, long inhabitedTime, @Nullable LevelChunkSection[] sectionArrayInitializer, @Nullable BlendingData blendingData) {
|
||||
super(pos, upgradeData, heightLimitView, biome, inhabitedTime, sectionArrayInitializer, blendingData);
|
||||
}
|
||||
|
||||
+1
-1
@@ -18,7 +18,7 @@ import org.spongepowered.asm.mixin.Mixin;
|
||||
import org.spongepowered.asm.mixin.Shadow;
|
||||
|
||||
@Mixin(Level.class)
|
||||
public abstract class World_movableBEMixin implements WorldInterface, LevelAccessor
|
||||
public abstract class World_movableTEMixin implements WorldInterface, LevelAccessor
|
||||
{
|
||||
@Shadow
|
||||
@Final
|
||||
@@ -207,11 +207,11 @@
|
||||
"NoiseColumnSamplerMixin_scarpetMixin",
|
||||
"CaveScalerMixin_scarpetMixin",
|
||||
|
||||
"BlockEntity_movableBEMixin",
|
||||
"PistonBlock_movableBEMixin",
|
||||
"PistonBlockEntity_movableBEMixin",
|
||||
"World_movableBEMixin",
|
||||
"WorldChunk_movableBEMixin",
|
||||
"BlockEntity_movableTEMixin",
|
||||
"PistonBlock_movableTEMixin",
|
||||
"PistonBlockEntity_movableTEMixin",
|
||||
"World_movableTEMixin",
|
||||
"WorldChunk_movableTEMixin",
|
||||
"PistonHandler_customStickyMixin",
|
||||
"PlayerEntity_creativeNoClipMixin",
|
||||
"PistonBlockEntity_playerHandlingMixin",
|
||||
@@ -232,7 +232,7 @@
|
||||
"WorldRenderer_pausedShakeMixin",
|
||||
"InGameHudMixin",
|
||||
"PlayerListHudMixin",
|
||||
"PistonBlockEntityRenderer_movableBEMixin",
|
||||
"PistonBlockEntityRenderer_movableTEMixin",
|
||||
"StructureBlockBlockEntityRenderer_mixin",
|
||||
"ClientPlayerEntity_clientCommandMixin",
|
||||
"WorldRenderer_fogOffMixin",
|
||||
|
||||
Reference in new issue
Block a user