public abstract class MixinWorld extends Object implements IMixinWorld
Constructor and Description |
---|
MixinWorld() |
Modifier and Type | Method and Description |
---|---|
void |
callMarkAndNotifyBlock(net.minecraft.util.BlockPos pos,
net.minecraft.block.state.IBlockState newState,
int flags,
org.spongepowered.asm.mixin.injection.callback.CallbackInfoReturnable<Boolean> cir,
net.minecraft.world.chunk.Chunk chunk,
net.minecraft.block.Block block,
net.minecraft.block.state.IBlockState iblockstate1,
net.minecraft.block.Block block1) |
void |
cancelSpawnEntityIfRestoringSnapshots(net.minecraft.entity.Entity entityIn,
org.spongepowered.asm.mixin.injection.callback.CallbackInfoReturnable<Boolean> cir) |
void |
captureBlockSnapshots(boolean captureSnapshots) |
void |
createAndStoreBlockSnapshot(net.minecraft.util.BlockPos pos,
net.minecraft.block.state.IBlockState newState,
int flags,
org.spongepowered.asm.mixin.injection.callback.CallbackInfoReturnable<Boolean> ci) |
ArrayList<org.spongepowered.common.block.SpongeBlockSnapshot> |
getCapturedSnapshots() |
boolean |
isCapturingBlockSnapshots() |
boolean |
isRestoringBlockSnapshots() |
void |
markAndNotifyBlock(net.minecraft.util.BlockPos pos,
net.minecraft.world.chunk.Chunk chunk,
net.minecraft.block.state.IBlockState snapshotState,
net.minecraft.block.state.IBlockState newState,
int flags) |
void |
onSpawnEntityInWorld(net.minecraft.entity.Entity entity,
org.spongepowered.asm.mixin.injection.callback.CallbackInfoReturnable<Boolean> cir,
int i,
int j) |
void |
onSpawnEntityInWorld(net.minecraft.entity.Entity entity,
org.spongepowered.asm.mixin.injection.callback.CallbackInfoReturnable<Boolean> cir,
int i,
int j,
boolean flag) |
void |
removeBlockSnapshotIfNullType(net.minecraft.util.BlockPos pos,
net.minecraft.block.state.IBlockState newState,
int flags,
org.spongepowered.asm.mixin.injection.callback.CallbackInfoReturnable<Boolean> cir) |
void |
restoreBlockSnapshots(boolean restoreSnapshots) |
public void cancelSpawnEntityIfRestoringSnapshots(net.minecraft.entity.Entity entityIn, org.spongepowered.asm.mixin.injection.callback.CallbackInfoReturnable<Boolean> cir)
public void onSpawnEntityInWorld(net.minecraft.entity.Entity entity, org.spongepowered.asm.mixin.injection.callback.CallbackInfoReturnable<Boolean> cir, int i, int j, boolean flag)
public void onSpawnEntityInWorld(net.minecraft.entity.Entity entity, org.spongepowered.asm.mixin.injection.callback.CallbackInfoReturnable<Boolean> cir, int i, int j)
public void createAndStoreBlockSnapshot(net.minecraft.util.BlockPos pos, net.minecraft.block.state.IBlockState newState, int flags, org.spongepowered.asm.mixin.injection.callback.CallbackInfoReturnable<Boolean> ci)
public void removeBlockSnapshotIfNullType(net.minecraft.util.BlockPos pos, net.minecraft.block.state.IBlockState newState, int flags, org.spongepowered.asm.mixin.injection.callback.CallbackInfoReturnable<Boolean> cir)
public void callMarkAndNotifyBlock(net.minecraft.util.BlockPos pos, net.minecraft.block.state.IBlockState newState, int flags, org.spongepowered.asm.mixin.injection.callback.CallbackInfoReturnable<Boolean> cir, net.minecraft.world.chunk.Chunk chunk, net.minecraft.block.Block block, net.minecraft.block.state.IBlockState iblockstate1, net.minecraft.block.Block block1)
public boolean isCapturingBlockSnapshots()
isCapturingBlockSnapshots
in interface IMixinWorld
public boolean isRestoringBlockSnapshots()
isRestoringBlockSnapshots
in interface IMixinWorld
public void captureBlockSnapshots(boolean captureSnapshots)
captureBlockSnapshots
in interface IMixinWorld
public void restoreBlockSnapshots(boolean restoreSnapshots)
restoreBlockSnapshots
in interface IMixinWorld
public ArrayList<org.spongepowered.common.block.SpongeBlockSnapshot> getCapturedSnapshots()
getCapturedSnapshots
in interface IMixinWorld
public void markAndNotifyBlock(net.minecraft.util.BlockPos pos, net.minecraft.world.chunk.Chunk chunk, net.minecraft.block.state.IBlockState snapshotState, net.minecraft.block.state.IBlockState newState, int flags)
markAndNotifyBlock
in interface IMixinWorld