1.14.4pre1

This commit is contained in:
gnembon committed 2019-07-03 16:38:12 -03:00
1 parent 0b6732fa93
commit cd4ae14448
14 files changed
+59 -62

No files matched your search

@@ -19,7 +19,7 @@ public abstract class InGameHudMixin
@Shadow @Final private PlayerListHud playerListHud;
@Redirect(method = "draw", at = @At(value = "INVOKE", target = "Lnet/minecraft/client/MinecraftClient;isInSingleplayer()Z"))
@Redirect(method = "render", at = @At(value = "INVOKE", target = "Lnet/minecraft/client/MinecraftClient;isInSingleplayer()Z"))
private boolean onDraw(MinecraftClient minecraftClient)
{
return this.client.isInSingleplayer() && !((PlayerListHudInterface) playerListHud).hasFooterOrHeader();
@@ -71,7 +71,7 @@ public abstract class ServerWorld_tickMixin extends World
@Inject(method = "tick", at = @At(
value = "CONSTANT",
args = "stringValue=village"
args = "stringValue=raid"
))
private void stopBlockStartVillageSection(BooleanSupplier booleanSupplier_1, CallbackInfo ci)
{
@@ -153,15 +153,6 @@ public abstract class ServerWorld_tickMixin extends World
return LevelGeneratorType.DEBUG_ALL_BLOCK_STATES;
}
@Redirect(method = "tick", at = @At(
value = "INVOKE",
target = "Lnet/minecraft/village/ZombieSiegeManager;tick()V"
))
private void tickConditionally(ZombieSiegeManager zombieSiegeManager)
{
if (TickSpeed.process_entities) zombieSiegeManager.tick();
}
@Redirect(method = "tick", at = @At(
value = "INVOKE",
target = "Lnet/minecraft/entity/raid/RaidManager;tick()V"
@@ -43,7 +43,7 @@ public abstract class World_movableTEMixin implements WorldInterface
public abstract ChunkManager getChunkManager();
@Shadow
public abstract void scheduleBlockRender(BlockPos blockPos_1);
public abstract void scheduleBlockRender(BlockPos blockPos_1, BlockState s1, BlockState s2);
@Shadow
public abstract void updateListeners(BlockPos var1, BlockState var2, BlockState var3, int var4);
@@ -103,7 +103,7 @@ public abstract class World_movableTEMixin implements WorldInterface
{
if (blockState_2 != blockState_3)
{
this.scheduleBlockRender(blockPos_1);
this.scheduleBlockRender(blockPos_1, blockState_2, blockState_3);
}
if ((int_1 & 2) != 0 && (!this.isClient || (int_1 & 4) == 0) && (this.isClient || worldChunk_1.getLevelType() != null && worldChunk_1.getLevelType().isAfter(ChunkHolder.LevelType.TICKING)))