Interface IForgeBlockGetter
- All Known Subinterfaces:
 BlockAndTintGetter,BlockGetter,CollisionGetter,CommonLevelAccessor,LevelAccessor,LevelReader,LevelTimeAccess,LightChunk,ServerLevelAccessor,SignalGetter,WorldGenLevel
- All Known Implementing Classes:
 ChunkAccess,ClientLevel,EmptyBlockGetter,EmptyLevelChunk,ImposterProtoChunk,Level,LevelChunk,PathNavigationRegion,ProtoChunk,RenderChunkRegion,ServerLevel,WorldGenRegion
public interface IForgeBlockGetter
- 
Method Summary
Modifier and TypeMethodDescriptiondefault @Nullable BlockEntityGet theBlockEntityat the given position if it exists.default @Nullable ModelDataManagerRetrieves the model data manager for this level.private BlockGetterself() 
- 
Method Details
- 
self
 - 
getExistingBlockEntity
Get theBlockEntityat the given position if it exists.Level.getBlockEntity(BlockPos)would create a newBlockEntityif theBlockhas one, but it has not been placed in the world yet (This can happen on world load).- Returns:
 - The BlockEntity at the given position or null if it doesn't exist
 
 - 
getModelDataManager
Retrieves the model data manager for this level. This will benullon a server level. 
 -