Everything posted by Draco18s
-
Shears in a block
entities.get(i) is an EntitySheep. What you traced out is that entity as a String, which came with extra data. Object data exposed by its toString() method ↓ "EntitySheep['Sheep'/19, l='New World', x=29.07, y=4.00, z=-787.93]" ↑ Class of the object
-
Custom Map for Custom World Type?
WHAT MAP ARE YOU TALKING ABOUT.
-
Shears in a block
~Loops~ List#get(int index)
-
Shears in a block
That's because your variable entity is a List and is not an instance of EntitySheep. It does however, contain sheep.
-
install.bat error
Seriously, you couldn't open the thread titled "Forge 804 install http 403 forbidden error [RESOLVED]"?
-
Custom Map for Custom World Type?
You are making no sense. Do you mean a map? A Dimension? Or a World?
-
Shears in a block
if(someEntity instanceof EntitySheep) { EntitySheep aSheep = (EntitySheep)someEntity; }
-
***TO ALL DEVS***
Even so, I'm pretty sure it's going to be monstrously huge. That and I highly doubt its going to catch on. Besides, if you want to produce something people will actually use, you might consider making it a desktop application, rather than an iPad one. Because how else are those poor schlubs without iphads supposed to use it? (If they're running Minecraft you already know they've got a PC!)
-
Stupid, stupid question (memory saving)
Da fuk you need that much data for?
-
***TO ALL DEVS***
I hope you're ready for an app that is several gigabytes in size. What with all the textures and GUI elements, example screenshots, and so on and so forth from every mod ever made.
-
Cloudy Possible? (Rain without Rain)
No, it's called a new rendering class. I know it's possible, as Mystcraft has "overcast" weather which is what you're looking for. I just don't know how its done.
-
Custom Map for Custom World Type?
It's called "ignore the random seed."
-
Shears in a block
AABB is an AxisAlignedBoundingBox, yes. Think of an AABB as a volume of blocks that must be cuboid in shape: it has width, height, and depth, as well as location.
-
Strange Biome Generation
256 and up won't work. Because the vanilla terrain generators deal with block IDs as a byte.
-
Shears in a block
Try the parent class, BlockBasePressurePlate.
- Shears in a block
-
Hex Color Picker in a GUI?
There is a way to do it that won't take "days" but it is math heavy. Essentially you'd have two loops (nested) that run from (0,0,0) to (hue1, hue2, hue3), depending on what the hue is (for red, it would be (255,0,0)). The other loop would run from those values over to (y,y,y) for the black-to-white gradient. Then you'd need a slider bar to change the hue value. (You'd want to look up HVS to RGB conversion algorithms).
-
Shears in a block
Don't use onEntityWalking. It's flaky and you'd have to figure out how to determine powered status (and sending the redstone signal wouldn't do anything! You'd need the signal, then the walking!) Look at pressure plates instead. There's a world.getEntitiesInAABB function. You'll want to copy that and add it to the onNeighborBlockChanged function (or wherever you're getting your redstone activation at) and do your shearing inside there. Look at the sheers to see how they work.
-
Why doesn't this onBlockActivated method work?
par5EntityPlayer.getCurrentEquippedItem().itemID == redDye.itemID
-
[SOLVED] Tessellator - brightness problem
There's also Tessellator#setBrightness(int)
-
Changing/Adding Seeds to Forge Server
Change server.properties
-
What's up with creating IDs
Yes. They would. AND THEY SHOULD.
-
Make a TileEntity render with a smaller bounding box?
What is your goal, here? What is the problem you are trying to solve?
-
[SOLVED]Constantly updating class?
TickRegistry.registerTickHandler() ?
-
[SOLVED]Constantly updating class?
If you want it to do anything, yes!
IPS spam blocked by CleanTalk.