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

perigrine3

Members
  • Content Count

    52
  • Joined

  • Last visited

Community Reputation

0 Neutral

About perigrine3

  • Rank
    Stone Miner

Converted

  • Personal Text
    I'm slow. Use examples. Examples are good.
    :|

Recent Profile Visitors

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

  1. Is there some segment of code that would allow me to make the player climb walls when beside them?
  2. Not gonna lie, I'm new to this. How would I set up the block states?
  3. I'm trying to make a plant that grows over time, but I am unsure how to do that. In case you are unsure what I mean, I'm talking about stages of growth, like potatoes or carrots (although I'd like it to be shearable, so more like sweet berry bushes). I am also unsure how I am supposed to get it to call on the different textures for each stage.
  4. So I came up with an idea to make a custom golem (by building it with blocks), and so I started looking through the Minecraft code for that part, but then I realized I don't know where I would find that. How would I go about making a new golem?
  5. Ok thank you. are there any alternate ways to go about doing what I'm trying to do?
  6. I think the title was pretty self-explanatory, but just in case, I'm looking to have the Command Block GUI open when a player right-clicks on an entity. I came up with a way, looking at the Command Block GUI class, but it's returning with an error. Thoughts? Here's my code: public boolean rightClickEntity(EntityPlayer entity, EnumHand hand) { super.processInteract(entity, hand); if (entity instanceof EntityPlayer) playerIn.displayGuiCommandBlock((TileEntityCommandBlock)tileentity); } (P.S.: I am really bad with imports so it could just be
  7. Is it possible to access some variable that defines the "Air" integer?
  8. Is there a way to change the jump height of a player when in another dimension?
  9. Sorry to bump, but I think it may have been overlooked. I really do need help with this. Thank you!
  10. I'm making a mars mod and I need a way to cause the player to suffocate unless wearing a specific helmet, and a way to make the player jump higher. I'm thinking maybe I can use the InitializationEvent to give the player Jump Boost when entering the new dimension and to take it away when leaving it. I have no idea how to do the suffocation though. Please take note that I am still very new to coding, so please try to explain what your suggestion does IN ENGLISH. P.S.: I have been looking at these mods so I can steal the code to accomplish BOTH of these, but I am having s
  11. This doesn't appear to be working, but I don't know why: //Removes existing recipes// @SubscribeEvent public void removeRecipes(FMLPostInitializationEvent event) { for(IRecipe recipe : ForgeRegistries.RECIPIES && Item item : ForgeRegistries.ITEMS) { if(recipe.getCraftingResult(new ResourceLocation(item)).equals("minecraft")) { IForgeRegistryModifiable.remove(recipe); } } } I don't see why it is wrong. Before, I hadn't put in the && Item item : ForgeRegistries.ITEM
  12. I know what the code does though, just so nobody thinks I have no clue. I just don't know what the modid part is.
  13. But won't that get stuff that ISN'T vanilla too? I mean, I'm probably wrong cuz I'm a noob, but still, just want to check before I use it.
×
×
  • Create New...

Important Information

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