Jump to content

Bedwa

Members
  • Posts

    21
  • Joined

  • Last visited

Recent Profile Visitors

The recent visitors block is disabled and is not being shown to other users.

Bedwa's Achievements

Tree Puncher

Tree Puncher (2/8)

0

Reputation

  1. LexManos Ok but, do u know how to get the server jars for it?
  2. I ran it like 22h ago and it hasn't changed
  3. How do I get server jars so MCP can decompile?
  4. Then why is 1.16.5 Supported?
  5. Why... Also Luis_ST so it is new BlockItem(BlockInit.COMPRESSED_SOULS_BLOCK.get(), new Item.properties() instead?
  6. Mc Version: 1.17.1 Forge: 37.1.1 Eclipse: 2021-06 new BlockItem(BlockInit.COMPRESSED_SOULS_BLOCK.get(), new Item(new Item.Properties().tab(CreativeModeTab.TAB_MISC)) When I hover over the line, eclipse says that the constructer BlockItem(Block, Item) is not defined
  7. Title Code : package io.github.wallibed.magicalmod.core.init; import io.github.wallibed.magicalmod.MagicalMod; import net.minecraftforge.fmllegacy.RegistryObject; import net.minecraftforge.registries.DeferredRegister; import net.minecraft.world.item.BlockItem; import net.minecraft.world.item.CreativeModeTab; import net.minecraft.world.item.Item; import net.minecraftforge.registries.ForgeRegistries; import java.util.List; import java.util.Map; import javax.annotation.Nullable; import net.minecraft.advancements.CriteriaTriggers; import net.minecraft.core.BlockPos; import net.minecraft.core.NonNullList; import net.minecraft.nbt.CompoundTag; import net.minecraft.nbt.ListTag; import net.minecraft.network.chat.Component; import net.minecraft.server.MinecraftServer; import net.minecraft.server.level.ServerPlayer; import net.minecraft.sounds.SoundEvent; import net.minecraft.sounds.SoundSource; import net.minecraft.world.InteractionResult; import net.minecraft.world.entity.item.ItemEntity; import net.minecraft.world.entity.player.Player; import net.minecraft.world.item.context.BlockPlaceContext; import net.minecraft.world.item.context.UseOnContext; import net.minecraft.world.level.Level; import net.minecraft.world.level.block.Block; import net.minecraft.world.level.block.ShulkerBoxBlock; import net.minecraft.world.level.block.SoundType; import net.minecraft.world.level.block.entity.BlockEntity; import net.minecraft.world.level.block.state.BlockState; import net.minecraft.world.level.block.state.StateDefinition; import net.minecraft.world.level.block.state.properties.Property; import net.minecraft.world.level.gameevent.GameEvent; import net.minecraft.world.phys.shapes.CollisionContext; public final class ItemInit { private ItemInit() {} public static final DeferredRegister<Item> ITEMS = DeferredRegister.create(ForgeRegistries.ITEMS, MagicalMod.MODID); static final RegistryObject<Item> SOULS = ITEMS.register("souls", () -> new Item(new Item.Properties().tab(CreativeModeTab.TAB_MISC).fireResistant())); //Block Items public static final RegistryObject<BlockItem> SOUL_BLOCK_ITEM = ITEMS.register("compressed_souls_block", () -> new BlockItem(BlockInit.COMPRESSED_SOULS_BLOCK.get(), new Item(new Item.Properties().tab(CreativeModeTab.TAB_MISC)))); } NO ONE CARES THAT I IMPORTED 35 THINGS
  8. Ummm. Turns out i spelled it wrong.................
  9. bump
  10. I want to make an etheral like block but if I use material.AIR, will it become like air block? I want it breakable
  11. bump
  12. bump
  13. trying to import net.minecraft.world.level.block.state.BlockBehavior Won't let me import img so https://ibb.co/wJB11Fh Code: package io.github.wallibed.magicalmod.core.init; import io.github.wallibed.magicalmod.MagicalMod; import net.minecraft.world.level.block.Block; import net.minecraft.world.level.block.Blocks; import net.minecraft.world.level.block.state.BlockBehavior; import net.minecraft.world.level.material.Material; import net.minecraft.world.level.material.MaterialColor; import net.minecraftforge.fmllegacy.RegistryObject; import net.minecraftforge.registries.DeferredRegister; import net.minecraftforge.registries.ForgeRegistries; public final class BlockInit { private BlockInit() { } public static final DeferredRegister<Block> BLOCKS = DeferredRegister.create(ForgeRegistries.BLOCKS, MagicalMod.MODID); public static final RegistryObject<Block> SOUL_BLOCK = BLOCKS.register("soul_block", () -> new Block(BlockBehavior.Properties.of(Material.AIR, MaterialColor.COLOR_LIGHT_BLUE))); }
  14. Edit: NVM Uhhhhh, the cmd froze it froze saying [42m 22s]
×
×
  • Create New...

Important Information

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