Everything posted by Draco18s
-
Why specify version and modid in both mcmod.info and @Mod annotation
Because places like Curse can't read your @Mod annotation, but they CAN read your mcmod.info file.
-
Register quartz pillar (EDIT: For structure)
Just fyi, that's not a recipe, that's a structure. Recipes use itemstacks. I don't know about structures.
-
Possible to make a block that adds the wither affect upon entity collision?
Define "access." If you want to look at it, like Lex said, then open up the Forge-src jar in the project hierarchy and browse down to net -> minecraft -> blocks -> BlockSoulSand.java
-
[Special][1.8.9]Fix the MDK!!! Please!!!
Inside the gradle file. Just pick a spot that isn't inside some other block. Done. How do I know? Because one of those lines says "task" and there's already at least one "task" block in the gradle file already.
-
[SOLVED][1.7.10] Gui only opens via Keybind if it is the held item
I can't find where you actually handle the packet. You send the PacketOpenWirelessTerm to the server and it gets picked up...where?
-
[1.9]What is potentially dangerous for nesting unlimited layers of NBT?
Put a strongbox inside a strongbox inside a strongbox inside a strongbox inside a strongbox inside a strongbox inside a strongbox inside a strongbox inside a strongbox inside a strongbox inside a strongbox inside a strongbox inside a strongbox inside a strongbox inside a strongbox... You might have a problem with NBT depth, yes.
-
1.7.10 Making my custom dimension a void world
And from.
-
[1.9 UNSOLVED] IBakedModel render simple quad ignoring light
Unfortunately I do not know, as I haven't yet messed with the new model system. I do know it's possible though: there's been one other fullbright question in the last couple of weeks, although it didn't use the term "fullbright" either. Just wanted to correct the mistake, as "glow" doesn't actually mean anything in computer graphics. There's fullbright (render as if under perfect illumination), emission (object emits light, or at least appears to), and bloom (the blurry hazy "glowy" edge thing, usually reserved for objects receiving so much illumination that they ordinarily go solid white without HDR).
-
[1.9] Storing custom data into a chunk
FYI: ChunkDataEvent is for reading/writing to disk, but in no way tells you that the chunk has been removed from memory and to disassociate any extra data from your Map. ChunkEvent.Load/Unload on the other hand, runs on a separate thread. (ConcurrentHashMap is needed, fortunately this Map alone should be sufficient to solve that problem). You'll still have to figure out a couple other problems (the sequence of events that get fired is not simple); just don't do something like world.getChunkFromChunkCoords(x, z).isChunkLoaded because that'll load the chunk and be useless.
-
[1.9 UNSOLVED] IBakedModel render simple quad ignoring light
FYI, "glowing" isn't the correct term. You want "fullbright."
-
[1.8] how to change entity name with color
In some languages in some cases you need an empty string to get the compiler to understand that you want a string here (and not something else, like an integer, which can be implicitly converted to a string, but only does so if the object its being added with is already a string). e.g. string someString = 1; //no good string someString = ""+1; //good But ChatFormatting.BLACK is already a string, so there's no need.
-
[Special][1.8.9]Fix the MDK!!! Please!!!
So there is a .gradle at my MDK directory, and a .gradle at my user home... which one are you referring to? user home.
-
[1.8.9][SOLVED] Problems with PacketHandler and getXP
I don't use it often enough to remember the keyboard shortcut.
-
[1.7.10]Powering system
Oh my god, so much wrong with this thread... If you want TileEntities you have to actually create TileEntities. And the TEs should be the ones implementing all of this power API interfaces, not the block.
-
Need help on makign a minecraft sword shoot a fireball for my plugin.
https://github.com/Draco18s/Artifacts/blob/master/main/java/com/draco18s/artifacts/components/ComponentFireball.java#L66-L78 The class isn't an Item class, but it utilizes the same methods.
-
[1.8.9][SOLVED] Problems with PacketHandler and getXP
Right click, references, find in workspace.
-
Sorting Cycle with multiple APIs in workspace
If it doesn't, then don't mark it as such.
-
Sorting Cycle with multiple APIs in workspace
You should f figure out a way to make the APIs load after their standard counterpart and not care about being before or after some other mod. Why does the JEI-API *have* to load before FEI?
-
[1.7.10]Powering system
- [1.7.10]Powering system
Still a stub. @Override public int EnergyStored() { // TODO Auto-generated method stub return 0; } And even in your EnergyDuctBase that method will return 0 as well, because it multiplies its tick rate by the result of EnergyGenerating() which returns 0: //done @Override public int EnergyGenerating() { return 0; } You will almost certainly not be able to get this to work without using TileEntities.- [1.7.10]Powering system
Cough. BlockDuct line 114: @Override public int EnergyStored() { // TODO Auto-generated method stub return 0; } How do you plan on implementing that method?- [1.8] accessing protected methods when using inheritance
You don't need to do that. You only have to do it in your main class: @Mod(modid = "ModID", name = "ModID", version = "1") public class Main{ @Instance("ModID") public static Main instance; public static Material newMaterial = (new Material(MapColor.sandColor)); }- [1.7.10]Powering system
Line 105 of that paste has a method that calls itself. Also, setLightLevel is not how you get a block to emit light on a per-instance basis. That will cause all copies of the block to start emitting light. You also never reset the light value. That block also never calls EnergyDraw in order to determine how much energy it should take from anywhere. Similarly, EnergyIn isn't called from anywhere and similarly does nothing. Then in your EnergyDuct block your EnergyStored method returns 0, meaning it would be incapable of sending energy anywhere. But if we look at this a little more closely: where would this block store energy? If we create a field for it, all of our Duct blocks would share that variable!- [1.8] accessing protected methods when using inheritance
Post some code.- [1.7.10]Powering system
First things first, why are you still on 1.7.10 Next, if a class implements an interface, its subclasses will already be implementing that interface, you don't need to declare it again: BlockAC extends Block implements IAc BlockEnergyDuctBase extends BlockAC implements IAc Third, define "not working." - [1.7.10]Powering system
IPS spam blocked by CleanTalk.
Important Information
By using this site, you agree to our Terms of Use.