Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Pipes are cheaper than hoppers, but only have one slot and can only output items, not pull items from the world. They also can be placed facing up if enabled in the config
- Loading branch information
1 parent
a4508a0
commit e5c2864
Showing
26 changed files
with
924 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
19 changes: 19 additions & 0 deletions
19
src/main/java/knightminer/inspirations/library/client/IgnoreAllStateMapper.java
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,19 @@ | ||
package knightminer.inspirations.library.client; | ||
|
||
import net.minecraft.block.Block; | ||
import net.minecraft.block.state.IBlockState; | ||
import net.minecraft.client.renderer.block.model.ModelResourceLocation; | ||
import net.minecraft.client.renderer.block.statemap.StateMapperBase; | ||
|
||
public class IgnoreAllStateMapper extends StateMapperBase { | ||
|
||
private final ModelResourceLocation location; | ||
public IgnoreAllStateMapper(Block block) { | ||
this.location = new ModelResourceLocation(block.getRegistryName(), "normal"); | ||
} | ||
|
||
@Override | ||
protected ModelResourceLocation getModelResourceLocation(IBlockState state) { | ||
return location; | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.