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

Geometrically

Forge Modder
  • Content Count

    42
  • Joined

  • Last visited

Community Reputation

0 Neutral

About Geometrically

  • Rank
    Tree Puncher

Converted

  • Gender
    Male
  • Personal Text
    Author of MineTech

Recent Profile Visitors

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

  1. I added a break in the for loop, and I found out the problem. The code I have used to get the block's bounding box is not working, as I changed List<EntityLiving> list = this.dinosaur.world.<EntityLiving>getEntitiesWithinAABB(EntityLiving.class, this.dinosaur.nest.getCollisionBoundingBox(this.dinosaur.nest.getDefaultState(), this.dinosaur.world, nestBlockPos).grow(this.distance)); to: List<EntityLiving> list = this.dinosaur.world.<EntityLiving>getEntitiesWithinAABB(EntityLiving.class, this.dinosaur.getEntityBoundingBox().grow(this.distance));
  2. I am creating a dinosaur mod where dinosaurs can guard a nest that they have already laid. The AI for laying a nest is working, but the guarding AI I coded doesn't work. The guarding AI is supposed to accomplish 2 tasks: a. Make sure the dinosaur can't move out of range from the nest b. Attack any EntityLiving within the range specified Currently, none of them are working. Here is my code: public class EntityAIGuardNest extends EntityAIBase { private EntityDinosaurTameable dinosaur; World world; private double speed; private double dis
  3. public class CommonProxy { public void init() { ModEntities.registerEntities(); registerRendering(); } public void registerRendering() {} } It's all being called. I already debugged that.
  4. package com.geometrically.prehistoricEclipse; @Mod(modid = PrehistoricEclipse.MODID, name = PrehistoricEclipse.MODNAME, version = PrehistoricEclipse.VERSION) public class PrehistoricEclipse { public static final String MODID = "pe"; public static final String MODNAME = "Prehistoric Eclipse"; public static final String VERSION = "0.0.1"; @Mod.Instance public static PrehistoricEclipse instance; @SidedProxy(serverSide = "com.geometrically.prehistoricEclipse.proxy.CommonProxy", clientSide = "com.geometrically.prehistoricEclipse.proxy.ClientProxy") public static CommonProxy
  5. package com.geometrically.prehistoricEclipse.proxy; import com.geometrically.prehistoricEclipse.items.PEItems; import net.minecraft.util.ResourceLocation; import net.minecraftforge.fml.client.registry.RenderingRegistry; public class ClientProxy extends CommonProxy { @Override public void registerRendering() { PEItems.registerRenders(); } }
  6. It's called in the ClientProxy, which is called from preInit
  7. Hello! My mod items can register just fine but the renders have the purple and black thing. My code seems to be fine, please help. package com.geometrically.prehistoricEclipse.items; import com.geometrically.prehistoricEclipse.items.item.*; import net.minecraft.client.renderer.block.model.ModelResourceLocation; import net.minecraft.item.Item; import net.minecraftforge.client.model.ModelLoader; import net.minecraftforge.fml.common.registry.ForgeRegistries; public class PEItems { public static Item dakoArrow; public static Item dakoClaw; public static Item dakoFeather; pub
  8. I believe there is a ghost class that isn't shown in the files or the IDE but is still there. I tried deleting the class and it still crashed with the same exact error. How would I fix that? Fixed the crash: There was a remaining file in the out.production folder. Deleting the project stuff in it fixed the problem with the ghost file. Thanks and I will use the suggestions.
  9. I am updating my mod from 1.7.10 --> 1.12 and I am getting an error in my Item registry class. I could not find the error on the common problems list, but sorry if it is a common error. The error is: net.minecraftforge.fml.common.LoaderExceptionModCrash: Caught exception from Prehistoric Eclipse (prehistoriceclipse) Caused by: java.lang.IncompatibleClassChangeError: com.geometrically.prehistoricEclipse.items.PEItems and com.geometrically.prehistoricEclipse.items.PEItems$RegistrationHandler disagree on InnerClasses attribute Full Crash log: ---- Minecraft Crash Report ---- // Th
  10. SOLVED: I figured out that I wasn't transferring my player to a dimension in the right way. I figured out that I can use playerIn.changeDimension(6); to get the player to my custom dimension using the EntityPlayer Argument in the onItemRightClicked.
  11. Why is it null? Every time the method executes is when the item is right clicked, so shouldn't it be getting the player who right clicked it? Could you tell me what to do in order to not make it a NPE? I already tried an if-null check and it still is null when I set it to something when it is null.
  12. I am experiencing an NPE whenever I use this code and I can't figure out why. The variable is being initialized in the constructor yet it is still none. Here are my log and my code. [21:07:41] [main/INFO]: Extra: [] [21:07:41] [main/INFO]: Running with arguments: [--userProperties, {}, --assetsDir, C:/Users/juser/.gradle/caches/minecraft/assets, --assetIndex, 1.10, --accessToken{REDACTED}, --version, 1.10.2, --tweakClass, net.minecraftforge.fml.common.launcher.FMLTweaker, --tweakClass, net.minecraftforge.gradle.tweakers.CoremodTweaker] [21:07:41] [main/INFO]: Loading tweak class name net.m
  13. How will you use the API? Will it have to be downloaded separately or do you want it integrated into your mod? If it is integrated into the mod, you can download the de-obf.jar and use winrar to copy the packages and assets in. If it is downloaded separately, in IntelliJ you can add dependencies in Project > Modules > Dependencies. You add the .jar there
  14. Hello Forge Community, I created a Dimension and when I spawn in it it is only void. I don't know why. I have shown code for my chunk provider class. Please tell me if anything else is needed. package com.geometrically.gm.worldGeneration; import java.util.ArrayList; import java.util.List; import java.util.Random; import com.geometrically.biome.GMBiomes; import net.minecraft.block.BlockFalling; import net.minecraft.entity.EnumCreatureType; import net.minecraft.init.Biomes; import net.minecraft.util.math.BlockPos; import net.minecraft.util.math.ChunkPos; import net.minecraft.world.World; i
×
×
  • Create New...

Important Information

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