Fix texture
This commit is contained in:
parent
0c372eaa8c
commit
23bb09f795
@ -9,7 +9,7 @@ yarn_mappings=1.20.6+build.3
|
||||
loader_version=0.15.11
|
||||
|
||||
# Mod Properties
|
||||
mod_version = 1.1.1+1.20.6
|
||||
mod_version = 1.1.2+1.20.6
|
||||
maven_group = systems.brn.televator
|
||||
archives_base_name = televator
|
||||
|
||||
|
@ -1,6 +1,8 @@
|
||||
package systems.brn.televator.blocks;
|
||||
|
||||
import net.fabricmc.fabric.api.itemgroup.v1.ItemGroupEvents;
|
||||
import net.minecraft.block.AbstractBlock;
|
||||
import net.minecraft.item.ItemGroups;
|
||||
import systems.brn.televator.Televator;
|
||||
import systems.brn.televator.TelevatorConfig;
|
||||
import systems.brn.televator.items.TelevatorBlockItem;
|
||||
@ -41,7 +43,8 @@ public class TelevatorBlock extends Block implements PolymerTexturedBlock {
|
||||
var block = Registry.register(Registries.BLOCK, modId,
|
||||
new TelevatorBlock(AbstractBlock.Settings.copy(Blocks.WHITE_WOOL), BlockModelType.FULL_BLOCK, Televator.MODELID));
|
||||
|
||||
Registry.register(Registries.ITEM, modId, new TelevatorBlockItem(new Item.Settings(), block, Televator.MODELID));
|
||||
Item item = Registry.register(Registries.ITEM, modId, new TelevatorBlockItem(new Item.Settings(), block, Televator.MODELID));
|
||||
ItemGroupEvents.modifyEntriesEvent(ItemGroups.FUNCTIONAL).register(content -> content.add(item));
|
||||
}
|
||||
|
||||
public void handleMovement(BlockPos pos, ServerPlayerEntity player, boolean isJumping) {
|
||||
|
@ -1,5 +1,5 @@
|
||||
{
|
||||
"parent": "block/cube_all",
|
||||
"parent": "block/cube_column",
|
||||
"textures": {
|
||||
"end": "televator:block/televator_top",
|
||||
"side": "televator:block/televator_side"
|
||||
|
Before Width: | Height: | Size: 241 B After Width: | Height: | Size: 241 B |
Loading…
Reference in New Issue
Block a user