• Recently Browsing

    No registered users viewing this page.

  • Posts

    • Hey, pretty simply forge keeps crashing, Ive checked for updates on java and updated forge but it continues. Ive never had issues before and Im sorry if Im slow to understand what to do. Ive removed all mods from the mods folder. Same issue but normal minecraft works just fine. Heres a google doc with the crash image and the latest log which I believe is the thing you use to view the crash. Im not sure but Im guessing here. https://docs.google.com/document/d/1jKTZzWtV8V-QbtkoTsneOlAq_jzWNFhrrG_hG7P1N1E/edit?usp=sharing If I need more info Im sorry for not adding it here. Im not used to doing this.
    • Sorry to bother y'all, I can't figure out the return type. Please give me a hint lol
    • Yes. Sorry if its a dumb question, I'm new to modding but whats wrong with that, should it be in a client proxy?  Edit: Got it working, https://github.com/kregerl/Potion-Cakes/tree/master/src/main/java/com/loucaskreger/potioncakes
    • this block conect 2 block name:BFinale package net.mcreator.testnt.block; import net.minecraftforge.registries.ObjectHolder; import net.minecraftforge.fml.event.lifecycle.FMLClientSetupEvent; import net.minecraftforge.api.distmarker.OnlyIn; import net.minecraftforge.api.distmarker.Dist; import net.minecraft.world.storage.loot.LootContext; import net.minecraft.world.IBlockReader; import net.minecraft.util.math.BlockPos; import net.minecraft.item.ItemStack; import net.minecraft.item.ItemGroup; import net.minecraft.item.Item; import net.minecraft.item.BlockItem; import net.minecraft.client.renderer.RenderTypeLookup; import net.minecraft.client.renderer.RenderType; import net.minecraft.block.material.Material; import net.minecraft.block.SoundType; import net.minecraft.block.BlockState; import net.minecraft.block.Block; import net.mcreator.testnt.TestntModElements; import java.util.List; import java.util.Collections; @TestntModElements.ModElement.Tag public class BfinaleBlock extends TestntModElements.ModElement { @ObjectHolder("testnt:bfinale") public static final Block block = null; public BfinaleBlock(TestntModElements instance) { super(instance, 17); } @Override public void initElements() { elements.blocks.add(() -> new CustomBlock()); elements.items .add(() -> new BlockItem(block, new Item.Properties().group(ItemGroup.BUILDING_BLOCKS)).setRegistryName(block.getRegistryName())); } @Override @OnlyIn(Dist.CLIENT) public void clientLoad(FMLClientSetupEvent event) { RenderTypeLookup.setRenderLayer(block, RenderType.getCutout()); } public static class CustomBlock extends Block { public CustomBlock() { super(Block.Properties.create(Material.ROCK).sound(SoundType.GROUND).hardnessAndResistance(1f, 10f).lightValue(0).notSolid()); setRegistryName("bfinale"); } @Override public boolean isNormalCube(BlockState state, IBlockReader worldIn, BlockPos pos) { return false; } @Override public boolean propagatesSkylightDown(BlockState state, IBlockReader reader, BlockPos pos) { return true; } @Override public List<ItemStack> getDrops(BlockState state, LootContext.Builder builder) { List<ItemStack> dropsOriginal = super.getDrops(state, builder); if (!dropsOriginal.isEmpty()) return dropsOriginal; return Collections.singletonList(new ItemStack(this, 1)); } } }  
  • Topics

  • Who's Online (See full list)