Reorganized Imports/Packages
This commit is contained in:
parent
a8beba9196
commit
770a5b4046
854 changed files with 42775 additions and 41811 deletions
31
src/main/java/org/betterx/betterend/blocks/EndPedestal.java
Normal file
31
src/main/java/org/betterx/betterend/blocks/EndPedestal.java
Normal file
|
@ -0,0 +1,31 @@
|
|||
package org.betterx.betterend.blocks;
|
||||
|
||||
import net.minecraft.core.Registry;
|
||||
import net.minecraft.resources.ResourceLocation;
|
||||
import net.minecraft.world.level.block.Block;
|
||||
|
||||
import com.google.common.collect.Maps;
|
||||
import org.betterx.betterend.BetterEnd;
|
||||
import org.betterx.betterend.blocks.basis.PedestalBlock;
|
||||
|
||||
import java.util.Map;
|
||||
|
||||
public class EndPedestal extends PedestalBlock {
|
||||
|
||||
public EndPedestal(Block parent) {
|
||||
super(parent);
|
||||
}
|
||||
|
||||
@Override
|
||||
protected Map<String, String> createTexturesMap() {
|
||||
ResourceLocation blockId = Registry.BLOCK.getKey(parent);
|
||||
String name = blockId.getPath();
|
||||
Map<String, String> textures = Maps.newHashMap();
|
||||
textures.put("%mod%", BetterEnd.MOD_ID);
|
||||
textures.put("%top%", name + "_polished");
|
||||
textures.put("%base%", name + "_polished");
|
||||
textures.put("%pillar%", name + "_pillar_side");
|
||||
textures.put("%bottom%", name + "_polished");
|
||||
return textures;
|
||||
}
|
||||
}
|
Loading…
Add table
Add a link
Reference in a new issue