Class FilteredBlockAndTintGetter
java.lang.Object
com.simibubi.create.content.decoration.copycat.FilteredBlockAndTintGetter
- All Implemented Interfaces:
net.minecraft.world.level.BlockAndTintGetter,net.minecraft.world.level.BlockGetter,net.minecraft.world.level.LevelHeightAccessor,net.neoforged.neoforge.common.extensions.IBlockAndTintGetterExtension,net.neoforged.neoforge.common.extensions.IBlockGetterExtension
public class FilteredBlockAndTintGetter
extends Object
implements net.minecraft.world.level.BlockAndTintGetter
-
Constructor Summary
ConstructorsConstructorDescriptionFilteredBlockAndTintGetter(net.minecraft.world.level.BlockAndTintGetter wrapped, Predicate<net.minecraft.core.BlockPos> filter) -
Method Summary
Modifier and TypeMethodDescriptionnet.minecraft.world.level.block.entity.BlockEntitygetBlockEntity(net.minecraft.core.BlockPos pPos) net.minecraft.world.level.block.state.BlockStategetBlockState(net.minecraft.core.BlockPos pPos) intgetBlockTint(net.minecraft.core.BlockPos pBlockPos, net.minecraft.world.level.ColorResolver pColorResolver) net.minecraft.world.level.material.FluidStategetFluidState(net.minecraft.core.BlockPos pPos) intnet.minecraft.world.level.lighting.LevelLightEngineintnet.neoforged.neoforge.client.model.data.ModelDatagetModelData(net.minecraft.core.BlockPos pPos) floatgetShade(net.minecraft.core.Direction pDirection, boolean pShade) Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface net.minecraft.world.level.BlockAndTintGetter
canSeeSky, getBrightness, getRawBrightnessMethods inherited from interface net.minecraft.world.level.BlockGetter
clip, clipWithInteractionOverride, getBlockEntity, getBlockFloorHeight, getBlockFloorHeight, getBlockStates, getLightEmission, getMaxLightLevel, isBlockInLineMethods inherited from interface net.neoforged.neoforge.common.extensions.IBlockAndTintGetterExtension
getShadeMethods inherited from interface net.neoforged.neoforge.common.extensions.IBlockGetterExtension
getAuxLightManager, getAuxLightManagerMethods inherited from interface net.minecraft.world.level.LevelHeightAccessor
getMaxBuildHeight, getMaxSection, getMinSection, getSectionIndex, getSectionIndexFromSectionY, getSectionsCount, getSectionYFromSectionIndex, isOutsideBuildHeight, isOutsideBuildHeight
-
Constructor Details
-
FilteredBlockAndTintGetter
public FilteredBlockAndTintGetter(net.minecraft.world.level.BlockAndTintGetter wrapped, Predicate<net.minecraft.core.BlockPos> filter)
-
-
Method Details
-
getBlockEntity
public net.minecraft.world.level.block.entity.BlockEntity getBlockEntity(net.minecraft.core.BlockPos pPos) - Specified by:
getBlockEntityin interfacenet.minecraft.world.level.BlockGetter
-
getBlockState
public net.minecraft.world.level.block.state.BlockState getBlockState(net.minecraft.core.BlockPos pPos) - Specified by:
getBlockStatein interfacenet.minecraft.world.level.BlockGetter
-
getFluidState
public net.minecraft.world.level.material.FluidState getFluidState(net.minecraft.core.BlockPos pPos) - Specified by:
getFluidStatein interfacenet.minecraft.world.level.BlockGetter
-
getHeight
public int getHeight()- Specified by:
getHeightin interfacenet.minecraft.world.level.LevelHeightAccessor
-
getMinBuildHeight
public int getMinBuildHeight()- Specified by:
getMinBuildHeightin interfacenet.minecraft.world.level.LevelHeightAccessor
-
getShade
public float getShade(net.minecraft.core.Direction pDirection, boolean pShade) - Specified by:
getShadein interfacenet.minecraft.world.level.BlockAndTintGetter
-
getLightEngine
public net.minecraft.world.level.lighting.LevelLightEngine getLightEngine()- Specified by:
getLightEnginein interfacenet.minecraft.world.level.BlockAndTintGetter
-
getBlockTint
public int getBlockTint(net.minecraft.core.BlockPos pBlockPos, net.minecraft.world.level.ColorResolver pColorResolver) - Specified by:
getBlockTintin interfacenet.minecraft.world.level.BlockAndTintGetter
-
getModelData
public net.neoforged.neoforge.client.model.data.ModelData getModelData(net.minecraft.core.BlockPos pPos) - Specified by:
getModelDatain interfacenet.neoforged.neoforge.common.extensions.IBlockGetterExtension
-