Everything posted by thebest108
- Solid entity issues
-
Entity Server/Client update issues
Is it your y spazzing out? I think it's solved by doing yOffset = yOffset/3 I haven't tried it since 1.4 but it might still work
-
Solid entity issues
I've recently been working on a mod similar to zepplen, but there are some serious roadblocks. For 1 even though the entity is solid, I frequently fall through it. 2nd the entities spaz out on the y axis, if I move a zepplen forward, the blocks y position will be going up and down at random. Does anyone have a solution for these problems? (they seem like synchronization issues but I'm not sure)
- Blocks xyz
-
Rotated BoundingBoxes
Zepplen did it, so it's not impossible. I looked through the code but it didn't make much sense. All I managed to make out was something called vector3. Anyone got any ideas?
-
Spawning Custom Mobs at Night (or whenever)
Forge Events is how I'd do it
-
Rotated BoundingBoxes
Does anyone know how to make a bounding box that is at an angle. Ex: zepplen, the block entities had rotated bounding boxes
-
EntityMountableBlocks
I would make a blank entity and that it would spawn whenever the block was initialized. Then, when the block is right clicked it would call the entity's interact function (note: you should change so it does player.mountEntity(this) ) this putting the place on the chair
-
How do I display a random message per click? [Solved]
you could add a boolean to the entity so it would be like boolean hasBeenClicked = false; String[] derp = [{"hi","hello","eat my shorts"}]; Random rand = new Random(); public boolean interact(EntityPlayer player) { if(!player.worldObj.isRemote&&!hasBeenClicked) { player.sendChatToPlayer(derp[rand.nextInt(derp.size()-1)]); hasBeenClicked = true; } return true; }
-
How do I display a random message per click? [Solved]
you could have something like String[] derp = [{"hi","hello","eat my shorts"}]; Random rand = new Random(); public boolean interact(EntityPlayer player) { if(!player.worldObj.isRemote) { player.sendChatToPlayer(derp[rand.nextInt(derp.size()-1)]); } return true; }
-
Entity facing a player
you could set its yaw to be the players yaw-180 ?
-
Chat message is sent twice per click [Solved]
Add if(!player.worldObj.isRemote){Send chat}
-
How do I send information to the client about a specific entity?
Is there a packet that can send an entity reference or something?
- Rotate top face of a block
- Rotate top face of a block
-
How would I get a world based on dimension Id
How would I get a world based on dimension Id to send an entity position packet?
-
How would I get a world based on dimension Id
How would I get a world based on dimension Id to send an entity position packet?
-
Exception in thread "Minecraft main thread" java.lang.NoClassDefFoundError
Buildcraft caused it, your probably using the wrong version of forge
-
Forge doesn't support the latest version of the not enough items mod.
I hate to have to tell you this but that crash log is worth dirt. Post it on pastebin so the bottom doesn't get cut off
-
Player can't jump while being moved?
I have an entity that when it moves, it moves the player on top with it. The only problem is that while player.move is in effect the player can't jump. Anyone know how to fix this?
-
Simple entity question
1 more question. My entity is randomly moving up and down and I found out that the position is messed up client side but not server side. How would I tell the client the right position?
-
Entity Rendering
For multiblocks do an onRandomUpdate to check if all the blocks are around it, and if yes change all the blocks textures and change their tilentities
-
Entity Item
Step 1: Make a new class Step 2: Extend the event class that has the method your looking for (all of them are in minecraftforge.events) Step 3: Override the method your looking for Step 4: in your main class, in init put minecraftforge.registerEventBus Also I think you may want to do an entity update , then check if it's on the ground, then check the rest
-
Plants
I suggest you look at extra biomes as it adds a lot of new plants. If you need help recompiling then pm me
-
Entity Item
What i suggest is using an entity spawn event, then use entity instanceof entityItem, then if entityItem.itemStack.id-256 = rottenflesh.id, then convert the items position to an int, check if the block at that position-1 is grass, then replacing it.
IPS spam blocked by CleanTalk.