File tree Expand file tree Collapse file tree 1 file changed +3
-1
lines changed
src/main/java/aztech/modern_industrialization/inventory Expand file tree Collapse file tree 1 file changed +3
-1
lines changed Original file line number Diff line number Diff line change 2525
2626import aztech .modern_industrialization .MI ;
2727import net .minecraft .resources .ResourceLocation ;
28+ import org .jetbrains .annotations .Nullable ;
2829
2930/**
3031 * Implement this on a slot to render its background automatically.
3132 */
3233public interface BackgroundRenderedSlot {
3334 /**
34- * @return the {@link ResourceLocation} of the slot atlas texture to use for the slot background.
35+ * @return the {@link ResourceLocation} of the slot atlas texture to use for the slot background. Return null to render no background.
3536 */
37+ @ Nullable
3638 default ResourceLocation getBackgroundAtlasLocation () {
3739 return MI .id ("textures/gui/container/slot_atlas.png" );
3840 }
You can’t perform that action at this time.
0 commit comments