Jump to content
View in the app

A better way to browse. Learn more.

Forge Forums

A full-screen app on your home screen with push notifications, badges and more.

To install this app on iOS and iPadOS
  1. Tap the Share icon in Safari
  2. Scroll the menu and tap Add to Home Screen.
  3. Tap Add in the top-right corner.
To install this app on Android
  1. Tap the 3-dot menu (⋮) in the top-right corner of the browser.
  2. Tap Add to Home screen or Install app.
  3. Confirm by tapping Install.

awesomedude3595

Members
  • Joined

  • Last visited

Everything posted by awesomedude3595

  1. I have made a custom armor piece and have given it a texture for when you hold it. I have also made a custom armor material but I dont know how to make it so that when you where the armor you see a custom texture.
  2. public class ModBlocks { public static final RegistryObject<Block> crafting6x6 = register("crafting6x6", () -> new CraftingTableBlock(AbstractBlock.Properties.of(Material.WOOD).sound(SoundType.WOOD).harvestTool(ToolType.AXE).harvestLevel(0))); static void register() {} private static <T extends Block> RegistryObject<T> registerNoItem(String name, Supplier<T> block) { return Registration.Blocks.register(name, block); } private static <T extends Block> RegistryObject<T> register(String name, Supplier<T> block) { RegistryObject<T> ret = registerNoItem(name, block); Registration.Items.register(name, () -> new BlockItem(ret.get(),new Item.Properties().tab(ItemGroup.TAB_BUILDING_BLOCKS))); return ret; } } public class ModBlockModelProvider extends BlockModelProvider { public ModBlockModelProvider(DataGenerator generator, ExistingFileHelper existingFileHelper) { super(generator, DesignableArmor.MOD_ID, existingFileHelper); } @Override protected void registerModels() { ModelFile crafting6x6 = orientableWithBottom("crafting6x6", modLoc("crafting6x6_side"), modLoc("crafting6x6_side"), modLoc("crafting6x6_bottom"), modLoc("crafting6x6_top")); } } public class ModBlockStateProvider extends BlockStateProvider { public ModBlockStateProvider(DataGenerator gen, ExistingFileHelper exFileHelper) { super(gen, DesignableArmor.MOD_ID, exFileHelper); } @Override protected void registerStatesAndModels() { } } I believe these are the files I need to use to texture my block I'm just not certain how to use them
  3. do i put this in the registerStatesAndModels if so how?
  4. public class ModModelProvider extends BlockModelProvider { public ModModelProvider(DataGenerator generator, ExistingFileHelper existingFileHelper) { super(generator, DesignableArmor.MOD_ID, existingFileHelper); } @Override protected void registerModels() { orientableWithBottom("crafting6x6", modLoc("crafting6x6_side"), modLoc("crafting6x6_side"), modLoc("crafting6x6_bottom"), modLoc("crafting6x6_top")); } } I added this is this correct if so how do I register it so it actually loads
  5. Is there a way I can use a data generator to make the file.
  6. I have been trying to make a custom crafting table I have everything working except the texture. This I don't even know where to start with I have made a top and side png file for my crafting table but don't know how to apply these in the 1.16.5 mdk.

Important Information

By using this site, you agree to our Terms of Use.

Configure browser push notifications

Chrome (Android)
  1. Tap the lock icon next to the address bar.
  2. Tap Permissions → Notifications.
  3. Adjust your preference.
Chrome (Desktop)
  1. Click the padlock icon in the address bar.
  2. Select Site settings.
  3. Find Notifications and adjust your preference.