File tree Expand file tree Collapse file tree 1 file changed +2
-1
lines changed
src/main/java/dev/apexstudios/registree/api/holder Expand file tree Collapse file tree 1 file changed +2
-1
lines changed Original file line number Diff line number Diff line change 77import net .minecraft .world .level .block .entity .BlockEntity ;
88import net .minecraft .world .level .block .entity .BlockEntityType ;
99import net .minecraft .world .level .block .state .BlockState ;
10+ import org .jspecify .annotations .Nullable ;
1011
1112public final class DeferredBlockEntity <TBlockEntity extends BlockEntity > extends ApexDeferredHolder <BlockEntityType <?>, BlockEntityType <TBlockEntity >> {
1213 public DeferredBlockEntity (ResourceKey <BlockEntityType <?>> registryKey ) {
1314 super (registryKey );
1415 }
1516
16- public TBlockEntity get (BlockGetter level , BlockPos pos ) {
17+ public @ Nullable TBlockEntity get (BlockGetter level , BlockPos pos ) {
1718 return value ().getBlockEntity (level , pos );
1819 }
1920
You can’t perform that action at this time.
0 commit comments