Everything posted by GotoLink
-
[SOLVED]Ore not generating and not accepting texture
By the way Block#RegisterIcons(IconRegister) doesn't exist. It's Block#registerIcons(IconRegister).
-
Solved! Custom Events?
You need to extend Event, or one of its subclasses, depending on what your event is.
-
[SOLVED]Ore not generating and not accepting texture
You need to call the generation. Like with a IWorldGenerator, registered with GameRegistry.registerWorldGenerator(IWorldGenerator)
-
Solved! Custom Events?
You can use forge events system. Make an event class, add parameters and options, then trigger it with MinecraftForge.EventBus#post(Event). As simple as that.
-
[SOLVED] DataWatcher crash on RenderGameOverlay
Is your extended properties registered ? Does your onEntityConstructing get called ?
-
[SOLVED] Tessellator - already tessellating error
Do not call tess.draw() either.
-
[SOLVED] DataWatcher crash on RenderGameOverlay
1/ You don't need to cast here. 2/ mc.thePlayer can be null. Rendering happens before any player is connected.
-
[SOLVED]ServerTickHandler Crash
Client-side only method.
-
[UNSOLVED] Packet Handling for Container
I just noticed you don't use anything from the packet data. And you are using a string to store two integers. And the handlePackets method in your packet handler is 99% useless...splitting a string in 3 and putting it back together.
-
[UNSOLVED][1.6.4] ASM Coremod & Mod
You might want to use something like ClassPatchManager, if you are interested into *.patch files.
-
[UNSOLVED] Packet Handling for Container
Try not to use static methods. You can get the container with EntityPlayer-openContainer and casting down. You seem to have two channels, but your packet handler does the same thing for both. We need the code which sends the packet too.
-
Oredictionary recipes
You need to use a IRecipe implementation that supports the ore dictionary. For example, ShapedOreRecipe.
-
Adding a nausea/confusion effect without adding the potion effect
GL11.glRotatef(value1, 0.0F, 1.0F, 1.0F); GL11.glScalef(1.0F / value2, 1.0F, 1.0F); GL11.glRotatef(-value1, 0.0F, 1.0F, 1.0F); So, that's all the confusion is doing... Well basically set a render tick handler, and do the same. Obviously you can set the values to whatever you feel like using.
-
Custom model with transparent textures?
A different lwjgl version or video setting in game maybe ?
-
[UNSOLVED][1.6.4] ASM Coremod & Mod
ClassCircularityError is probably an error he made. Except for "tweakers priority" added by Forge (which is optional), i don't see anything that would make patching any different in 1.6.4. This code you are showing doesn't make sense to me. It looks like it is visiting his own classes and patch them afterwards... Why would anyone do that instead of writing the code directly ? And using (net.minecraft.block.BlockGrass, net/minecraft/client/renderer/texture/IconRegister) unobfuscated class name too ! Anyway, you can do that to Minecraft classes indeed, if you don't want to touch Mojang code directly. Though unnecessary work in my opinion.
-
[SOLVED] [1.6.4] Custom Mobs Not Spawning When Others With Exact Same Spawns Do
Maybe The End can only spawn "monster" CreatureType ? Or maybe the end stone prevents most spawn ? You might want to show at least one of those chicken classes.
-
[SOLVED] Entities do not like me...
if (world.isRemote) { EntityBasicCar car = new EntityBasicCar(world); car.posX = x + 0.5; car.posY = y + 1.5; car.posZ = z + 0.5; world.spawnEntityInWorld(car); Error in server side check. You might want to use Entity#setPosition(double,double,double)
-
Character Position in Vehicle
Probably need to override Entity#shouldRiderSit() and Entity#updateRiderPosition()
-
Disable my mod if it's not found on the server
If you changed something that belongs to the server (food effects) the mod need to be installed on server side. Considering the server has all rights and client has none, you can't check what mod is in effect before being accepted by it. Thus the answer is logically: no. It isn't that big of a deal anyway, since you can make a profile without the mod installed.
-
[UNSOLVED][1.6.4] ASM Coremod & Mod
Actually the coremod shouldn't launch at all in dev environment. You are supposed to patch minecraft files when developing. Then only include the compiled transformers into the coremod jar. You can include a mod into a coremod jar by setting FMLCorePluginContainsFMLMod: true in the Manifest file.
-
Mob not registering in mainclass plz help :)
You failed to use brackets correctly. Remove all that "entityid" part.
-
Choppy Vehicle Movement
if(!worldObj.isRemote && this.riddenByEntity != null) { if(Minecraft.getMinecraft().gameSettings.keyBindForward.pressed Ultimate server crash. Use a TickHandler to catch the keys and send packets to update the entity.
-
Unique EntityId Issues
You could also use Entity#getPickedResult(MovingObjectPosition) though i don't know what you want actually. Entity entity = (EntityLiving)Minecraft.getMinecraft().objectMouseOver.entityHit;//useless cast Entity entity1 = entity.getClass().getConstructor(new Class[] {World.class}).newInstance(new Object[] {world});//why ? I don't understand that part either.
-
Unique EntityId Issues
EntityList.getEntityID(Entity) This is what you are looking for. If you want to support a mod added entity, you'd better use EntityList.getEntityString(Entity) And make a different spawner egg to support names instead.
-
Material.rock Not Found
Use lowercase for packages.
IPS spam blocked by CleanTalk.