
SCAREX
Members-
Content Count
28 -
Joined
-
Last visited
Community Reputation
2 NeutralAbout SCAREX
-
Rank
Tree Puncher
Converted
-
Gender
Male
-
URL
http://scarex.fr/
-
Location
Lyon (Grenoble too), France
-
Personal Text
"Take that France"
Recent Profile Visitors
The recent visitors block is disabled and is not being shown to other users.
-
Your instance annotation should have the modid inside, not the name
-
You can download all the mods you want using gradle : just use the dev version (de-obfuscated) or add the code chicken core (/code chicken lib) in your dev workspace to play with obfuscated mods without de-deobfuscating the mod, I've made a tutorial for this here : http://www.minecraftforgefrance.fr/showthread.php?tid=2689 (in french sorry) There is 3 types of jars : the obfuscated (the one used to play), the de-obfuscated (to use in your dev environment), the source (uncompiled files). the API seems to be only the files to use to make your classpath happy
-
Correction : it seems to work, before I tested it no particles appeared. EDIT : no particles appeared because I was using world.spawnParticle.
-
Before I used if (this.worldObj.isRemote) but no particles appeared. I think it's because the particles are entities, and entities need to be spawned from the server.
-
Recently I had to create a smoke grenade. In order to do this, I used particles but the problem was that the player could deactivate them in the options so I used another way to do it. All were fine during a time but after my game crashes with different crash reports : My class : (EntityGrenade.class) public void performAction(MovingObjectPosition mop) { switch (this.metadata) { case 1: if (this.fuse > 0) { for (int i = 0; i < 4; i++) { Minecraft mc = Minecraft.getMinecraft(); if (mc.renderViewEntity != null && mc.effectRenderer != null) { flo
-
[1.7.10] Entity mountable not working (problem with synchronization)
SCAREX replied to SCAREX's topic in Modder Support
I can get it to work by implementing IEntityAdditionalSpawnData, but it takes a bit of time to update the y offset : After a bit of time : -
[1.7.10] Entity mountable not working (problem with synchronization)
SCAREX replied to SCAREX's topic in Modder Support
Now, I can sit on thee block but the mounted Y offset is correct only for the server : package fr.scarex.hilium.block; import net.minecraft.block.Block; import net.minecraft.block.material.Material; import net.minecraft.entity.Entity; import net.minecraft.entity.player.EntityPlayer; import net.minecraft.world.World; import fr.scarex.hilium.Hilium; import fr.scarex.hilium.entity.EntitySit; import fr.scarex.hilium.tileentity.TileEntitySit; /** * @author SCAREX * */ public class BlockSit extends Block { protected BlockSit(Material material) { super(material); } @Override public boolea -
[1.7.10] Entity mountable not working (problem with synchronization)
SCAREX replied to SCAREX's topic in Modder Support
I found out that the method onBlockAdded is fired only on the server, And when I spawn the entity, the client doesn't know that the entity is actually there : I will put the spawn of the mob in another method to see if there is a difference. -
The name of the event is InitGuiEvent, but you can also use the postInitializationEvent
-
Minecraft.getMinecraft().thePlayer.getGameProfile()
-
You can replace the block with GameRegistry.addSubstitute (or something like that).
-
The break event gives you all the parameters you need to get the block metadata, new ItemStack(evt.block, 1, evt.blockMetadata)
-
Attack animation not working [1.7.10]
SCAREX replied to BoonieQuafter-CrAfTeR's topic in Modder Support
File corruption with techne example : LegR = new ModelRenderer(this, 46, 0); LegR.addBox(0F, 0F, 0F, 4, 16, 4); // The variables names should begin with a lower case letter LegR.setRotationPoint(1F, 8F, -2F); LegR.setTextureSize(64, 64); LegR.mirror = true; // Miror texture should be after the initialization setRotation(LegR, 0F, 0F, 0F); The reason that your animation doesn't work is because your event is fired once, but the method setLivingAnimation is fired every render tick. -
[SOLVED][1.8] Crash when placing underwater plant
SCAREX replied to JimiIT92's topic in Modder Support
You are using a liquid material : super(Material.water); try with a correct Material. -
I tested what you said, and I confirm : this is a bug. Another thing I found is that when you shift click, the event is fired 4 times but a simple click fires it 2 times (client and server I suppose).