Jump to content
Search In
  • More options...
Find results that contain...
Find results in...


  • Content Count

  • Joined

  • Last visited

Community Reputation

0 Neutral

About FOGC123

  • Rank
    Tree Puncher

Recent Profile Visitors

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

  1. 1. how do you open it from a player 2. how do you make one??
  2. trying to override onItemRightClick so i look in the list of overridable functions in Item class and it doesnt exist?
  3. Heres my github link : https://github.com/FOGC123/randomadditions1.15.2
  4. Sorry i wasnt very clear with my question, I have registered the deferred register on my mod event bus but: "TileEntityType.Builder.create(TileEntityWandInfuser::new, ModBlocks.WAND_INFUSER.get())" still returns error Cannot resolve method 'create(<method reference>, net.minecraftforge.registries.IForgeRegistryEntry)'
  5. As i said I would like to register a tile entity using deferred register: Code package com.fogc123.randomadditions.tilentities; import com.fogc123.randomadditions.RandomAdditions; import com.fogc123.randomadditions.blocks.ModBlocks; import net.minecraft.tileentity.TileEntityType; import net.minecraftforge.fml.RegistryObject; import net.minecraftforge.registries.DeferredRegister; import net.minecraftforge.registries.ForgeRegistries; public class ModTileEntities { public static final DeferredRegister<TileEntityType<?>> TILE_ENTITIES = new DeferredRegister<>(Forge
  6. I want to summon a firecharge when you right click with a wand item but i have no idea how i would do that. My code: public class ItemFireballWand extends Item { public ItemFireballWand() { super(new Item.Properties().maxStackSize(1)); } @Override public ActionResult<ItemStack> onItemRightClick(World worldIn, PlayerEntity playerIn, Hand handIn) { return ActionResult.resultSuccess(new ItemStack(this)); } }
  7. Oh wait no im dumb its just the default use noise, is there anyway to replace that?
  8. Here you go: public class BasicWand extends Item{ public BasicWand(){ super(new Item.Properties().maxStackSize(64).group(ModItemGroups.MOD_ITEM_GROUP)); this.setRegistryName("basic_wand"); } @Override public ActionResult<ItemStack> onItemRightClick(World world, PlayerEntity player, Hand hand) { if (player.isCrouching()) { System.out.println("Wand Inventory opened!"); return ActionResult.resultPass(new ItemStack(ModItems.BASIC_WAND)); } System.out.println("Wand Used!"); return
  9. I am creating an item that does something when you right click with it in your hand, but currently it makes a wierd water noise when you use it. How would i go about changing that(I want to change it to a different vanilla sound)
  10. Thanks so much! Are there any significant differences between 1.15.1 and 1.15.2?
  11. I've been following a tutorial(https://cadiboo.github.io/tutorials/1.15.1/forge/) and i was having problems with registering items. The game launches fine, my mod gets loaded, but i can't get my item with the /give command. I see a one possible problem. The tutorial is using 1.15.1 and I am using 1.15.2(but i doubt that would make a big difference). My main mod class: package com.fogc123.randomadditions; import net.minecraftforge.fml.common.Mod; import org.apache.logging.log4j.LogManager; import org.apache.logging.log4j.Logger; @Mod(Main.MODID) public final class Main { p
  • Create New...

Important Information

By using this site, you agree to our Privacy Policy.