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

Help!

Members
  • Content Count

    36
  • Joined

  • Last visited

Everything posted by Help!

  1. It is for a butterfly clicking mod. I only found one other mod but it is just an auto clicker. It doesn't only click twice.
  2. Hi! I wanted to make a mod to double click for every single click the player sends. I don't know what class registers when the person clicks, and would need to know to be able to send two clicks instead of one. If any of you know, please tell me. It would be really appreciated! Thank you
  3. Thank you. Sorry for the trouble. I don't mean to be annoying, and i'm a HUGE noob at coding. Thank you for the help!
  4. Entity Renderer: package com.Alex.FunestestMod.client.render; import com.Alex.FunestestMod.Fun; import com.Alex.FunestestMod.client.model.RockModel; import com.Alex.FunestestMod.entities.RockEntity; import net.minecraft.client.renderer.entity.EntityRendererManager; import net.minecraft.client.renderer.entity.MobRenderer; import net.minecraft.util.ResourceLocation; public class RockRenderer extends MobRenderer<RockEntity, RockModel<RockEntity>> { protected static final ResourceLocation ROCK_TEXTURE= new ResourceLocation(Fun.MOD_ID, "textures/entity/stone.png");
  5. My main class: package com.Alex.FunestestMod; import com.Alex.FunestestMod.entities.RockEntity; import com.Alex.FunestestMod.initialization.ModBlocks; import com.Alex.FunestestMod.initialization.ModEntities; import com.Alex.FunestestMod.initialization.ModItems; import net.minecraft.entity.ai.attributes.GlobalEntityTypeAttributes; import net.minecraftforge.common.MinecraftForge; import net.minecraftforge.fml.DeferredWorkQueue; import net.minecraftforge.fml.common.Mod; import net.minecraftforge.fml.event.lifecycle.FMLClientSetupEvent; import net.minecraftforge.fml.event.lifecycle.FML
  6. What code do you need? Also, here is the log: [25Jul2020 14:49:17.139] [main/INFO] [cpw.mods.modlauncher.Launcher/MODLAUNCHER]: ModLauncher running: args [--gameDir, ., --launchTarget, fmluserdevclient, --fml.mcpVersion, 20200625.160719, --fml.mcVersion, 1.16.1, --fml.forgeGroup, net.minecraftforge, --fml.forgeVersion, 32.0.75, --version, MOD_DEV, --assetIndex, 1.16, --assetsDir, C:\Users\alext\.gradle\caches\forge_gradle\assets, --username, Dev, --accessToken, ❄❄❄❄❄❄❄❄, --userProperties, {}] [25Jul2020 14:49:17.142] [main/INFO] [cpw.mods.modlauncher.Launcher/MODLAUNCHER]: ModLau
  7. ---- Minecraft Crash Report ---- // There are four lights! Time: 7/25/20 2:50 PM Description: Rendering entity in world java.lang.NullPointerException: Rendering entity in world at java.util.Objects.requireNonNull(Objects.java:203) ~[?:1.8.0_251] {} at java.util.Optional.<init>(Optional.java:96) ~[?:1.8.0_251] {} at java.util.Optional.of(Optional.java:108) ~[?:1.8.0_251] {} at net.minecraft.client.renderer.RenderState$TextureState.<init>(RenderState.java:625) ~[forge-1.16.1-32.0.75_mapped_snapshot_20200723-1.16.1-recomp.jar:?] {re:classloading,
  8. It says this [14:43:18] [Render thread/ERROR] [minecraft/Util]: No data fixer registered for fun:rock fun:rock is the entity
  9. No. It's just a rock that's supposed to move around.
  10. I am trying to make a custom entity, and when I try to summon it the game crashes. When the entity was being rendered it said, " -- Entity being rendered -- Details: Entity Type: fun:rock (com.Bob.FunestestMod.entities.RockEntity) Entity ID: 595 Entity Name: entity.fun.rock Entity's Exact location: -181.50, 78.00, -124.50 Entity's Block location: World: (-182,78,-125), Chunk: (at 10,4,3 in -12,-8; contains blocks -192,0,-128 to -177,255,-113), Region: (-1,-1; contains chunks -32,-32 to -1,-1, blocks -512,0,-512 to -1,255,-1) Entity's Momentum: 0.00, -
  11. I Made A custom Block Model and don't know how to make the particles match the color of the custom block model. Ho can I fix this?
  12. I tried to make this block deal damage to the player when they walk on it and is not working I think because of the custom hit box. here is my block class: package com.ModdingMinecraft.blocks; import net.minecraft.block.Block; import net.minecraft.block.BlockState; import net.minecraft.block.material.Material; import net.minecraft.entity.Entity; import net.minecraft.util.DamageSource; import net.minecraft.util.math.BlockPos; import net.minecraft.util.math.shapes.ISelectionContext; import net.minecraft.util.math.shapes.VoxelShape; import net.minecraft.world.IBlockReader; import net.mi
  13. That didn't work. Any other ideas of why it isn't working?
  14. I had set it to take damage when I am sneaking for testing, and when I removed the exclamation point I still didn't take damage sneaking
  15. I put this in my block class: public void onEntityWalk(World worldIn, BlockPos pos, Entity entityIn) { if (!entityIn.isSneaking()){ entityIn.attackEntityFrom(DamageSource.FALL, 10); } super.onEntityWalk(worldIn, pos, entityIn); } When i'm in the game I don't take any damage from sneaking on it. What am I doing wrong?
  16. I made a banana peel that can be placed down and would like it to kill the entity that walks/slips on it. How would I do that in 1.15.2?
  17. What argument am I supposed to pass into it?
×
×
  • Create New...

Important Information

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