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

jmb19905

Members
  • Content Count

    10
  • Joined

  • Last visited

Community Reputation

0 Neutral

About jmb19905

  • Rank
    Tree Puncher

Recent Profile Visitors

381 profile views
  1. Hey! I want to make a custom Player Animation (like the bow or eat animation). How would I do that? I suppose I have to somehow create a UseAction? Thanks in advance!
  2. Thanks it is working now. I wonder how I didn't find that post.
  3. Hi I want to change the vanilla ore generation. For example I want to make Iron ore more rare (generates lower, in smaller veins and less veins) I have absolutly no idea where to start. Do I have to somehow remove the vanilla generation and add my own or can I just change it somewhere?! I use 1.15.2 but i want to update in the future. Thanks in advance!
  4. Fixed the issue with the GUI not opening ... it tried to access something that was null 🙄 Do not use IInventory (LockableLootTileEntity). Especially because you already have an IItemHandler... I got that from the tutorial series i am watching... he did it the same (i think) Do not use @OnlyIn. What should I use??? You can't do this. There can be multiple people looking at the TE. How should (or should I ?) access the Container??
  5. Container class: import net.jmb19905.medievalworlds.entities.tile.AlloyFurnaceTileEntity; import net.jmb19905.medievalworlds.registryhandlers.BlockHandler; import net.jmb19905.medievalworlds.registryhandlers.ContainerTypeHandler; import net.jmb19905.medievalworlds.util.recipe.AlloyRecipe; import net.jmb19905.medievalworlds.util.slots.OutputSlot; import net.minecraft.entity.player.PlayerEntity; import net.minecraft.entity.player.PlayerInventory; import net.minecraft.inventory.container.*; import net.minecraft.item.Item; import net.minecraft.item.ItemStack; import net.minecraft.item.crafting
  6. Hey! I am having an issue with my container and GUI. When I place my Container in the world the GUI works fine. But after a relog I can't open the GUI anymore. Does somebody know why it would do that? Tell me if you need any code! I am using forge 1.15.2-31.2.0 Thanks in advance jmb19905
  7. Hey! I want to give an ItemStack a cooldown. Currently i am using player.getCooldownTracker().setCooldown(itemIn, ticksIn); but this add a cooldown to the Item (that means that all of the same Item have the cooldown)... I want that only one ItemStack has the cooldown. How would I do that? Thanks in advance!
×
×
  • Create New...

Important Information

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