forked from KryptonCaptain/Et-Futurum
-
Notifications
You must be signed in to change notification settings - Fork 47
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
OK SMARTASS INTERPRETER JUST HAVE IT ALL
OH THIS IS MISSING OH THAT IS MISSING WHO FUCKING CARES JUST COMPILE IT ANYWAYS AND IGNORE THE ONE GODDAMN MISSING FUNCTION UNTIL I COMMIT THE CODE People be like "oh just use branches" "just commit a bit at a time" I TRY THAT AND THIS SHIT IS WHAT FUCKING HAPPENS build failed build fauileldd sdfbsfogdiuhaeraipiz[p It just leads to build failures So when people tell me to use branches to confuse my code or make more """""organized""""" commits I link them to this message. Yes I'm tilted Let's see Gradle fail this one too because it likes to be an asshole - Add soul fire gen through WorldGenSoulFire and apply it to NetherChunkProvider, so soul fire appears on soul soil when enabled - Due to failures with forge's custom item entity system, it has been removed and replaced with a mixin. Bugs include custom item-entities jittering when first spawned in and /give not dispensing the item into the player's inventory. It's clear the custom item entity system was NOT thoroughly tested by Forge. Old uninflammable items that exist in the world will be converted to the regular item entities automatically. - A system to add/remove items via the config or mod code will be added in the future, as well as adjusting their buoyancy - Add a biome list helper function to Utils.java, to make it easier to create biome lists with certain blacklists
- Loading branch information
1 parent
48372cd
commit aef5968
Showing
23 changed files
with
162 additions
and
354 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
23 changes: 0 additions & 23 deletions
23
src/main/java/ganymedes01/etfuturum/blocks/BlockNetheriteStairs.java
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,34 +1,11 @@ | ||
package ganymedes01.etfuturum.blocks; | ||
|
||
import ganymedes01.etfuturum.ModBlocks; | ||
import ganymedes01.etfuturum.entities.EntityItemUninflammable; | ||
import net.minecraft.entity.item.EntityItem; | ||
import net.minecraft.item.ItemStack; | ||
import net.minecraft.world.World; | ||
|
||
public class BlockNetheriteStairs extends BaseStairs { | ||
|
||
public BlockNetheriteStairs() { | ||
super(ModBlocks.NETHERITE_BLOCK.get(), 0); | ||
setUnlocalizedNameWithPrefix("netherite"); | ||
} | ||
|
||
@Override | ||
protected void dropBlockAsItem(World world, int x, int y, int z, ItemStack stack) { | ||
// do not drop items while restoring blockstates, prevents item dupe | ||
if (!world.isRemote && world.getGameRules().getGameRuleBooleanValue("doTileDrops") && !world.restoringBlockSnapshots) { | ||
if (captureDrops.get()) { | ||
capturedDrops.get().add(stack); | ||
return; | ||
} | ||
float f = 0.7F; | ||
double d0 = world.rand.nextFloat() * f + (1.0F - f) * 0.5D; | ||
double d1 = world.rand.nextFloat() * f + (1.0F - f) * 0.5D; | ||
double d2 = world.rand.nextFloat() * f + (1.0F - f) * 0.5D; | ||
EntityItem entityitem = new EntityItemUninflammable(world, x + d0, y + d1, z + d2, stack); | ||
entityitem.delayBeforeCanPickup = 10; | ||
world.spawnEntityInWorld(entityitem); | ||
} | ||
} | ||
|
||
} |
27 changes: 0 additions & 27 deletions
27
src/main/java/ganymedes01/etfuturum/blocks/itemblocks/ItemBlockUninflammable.java
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.
aef5968
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Good, finally no build failure