Jump to content
View in the app

A better way to browse. Learn more.

Forge Forums

A full-screen app on your home screen with push notifications, badges and more.

To install this app on iOS and iPadOS
  1. Tap the Share icon in Safari
  2. Scroll the menu and tap Add to Home Screen.
  3. Tap Add in the top-right corner.
To install this app on Android
  1. Tap the 3-dot menu (⋮) in the top-right corner of the browser.
  2. Tap Add to Home screen or Install app.
  3. Confirm by tapping Install.

Draco18s

Members
  • Joined

  • Last visited

Everything posted by Draco18s

  1. Because places like Curse can't read your @Mod annotation, but they CAN read your mcmod.info file.
  2. Just fyi, that's not a recipe, that's a structure. Recipes use itemstacks. I don't know about structures.
  3. 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
  4. 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.
  5. I can't find where you actually handle the packet. You send the PacketOpenWirelessTerm to the server and it gets picked up...where?
  6. 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.
  7. 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).
  8. 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.
  9. FYI, "glowing" isn't the correct term. You want "fullbright."
  10. 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.
  11. So there is a .gradle at my MDK directory, and a .gradle at my user home... which one are you referring to? user home.
  12. I don't use it often enough to remember the keyboard shortcut.
  13. 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.
  14. 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.
  15. Right click, references, find in workspace.
  16. If it doesn't, then don't mark it as such.
  17. 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?
  18. 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.
  19. Cough. BlockDuct line 114: @Override public int EnergyStored() { // TODO Auto-generated method stub return 0; } How do you plan on implementing that method?
  20. 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)); }
  21. 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!
  22. 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."

Important Information

By using this site, you agree to our Terms of Use.

Configure browser push notifications

Chrome (Android)
  1. Tap the lock icon next to the address bar.
  2. Tap Permissions → Notifications.
  3. Adjust your preference.
Chrome (Desktop)
  1. Click the padlock icon in the address bar.
  2. Select Site settings.
  3. Find Notifications and adjust your preference.