Everything posted by loordgek
-
TESR showing entity moves other TESRs
set the translate back to 0
-
Error is code
post the class and learn java plz
-
(solved) Stairs problem 1.14.2
@rtester do not hijack others threads
-
Cant install Minecraft MODS! /Forge mods
do you have https://minecraft.curseforge.com/projects/bdlib/files/2518031#additional-files ??
-
Forge 1.13.2 - shapeless recipe not working!
your path to the recipe is wrong
-
How do I prevent hoppers/droppers/item pipes from interacting with a machine?
look at what he is doing he is using a ItemStackHandler to wrap a ItemStackHandler
-
How do I prevent hoppers/droppers/item pipes from interacting with a machine?
https://github.com/JGgithub2018/Simple-Batteries/blob/master/src/main/java/jgcodes/sb/forgecaps/ReadOnlyItemHandler.java ?? just implement IItemHandler your modID is to short use ¨simplebatteries¨ not sb
-
Since 1.13 will remove metadata, how do I do some DataFixing/DataFixer, my blocks rely heavily on metadata.
dont bother w/ it modded world are going to break
-
Minecart rails not rotating and minecarts cannot be placed
update it may be resolved already
-
[1.12.2] Potential Memory leak detected
proxy https://mcforge.readthedocs.io/en/latest/concepts/sides/
-
Find and replace adjacent blocks
i was on 1.12.2
-
Find and replace adjacent blocks
public void tick(IBlockState state, World worldIn, BlockPos pos, Random random) { super.tick(state, worldIn, pos, random); Map<BlockPos, IBlockState> blockStates = new HashMap(); blockStates.put(pos.north(), worldIn.getBlockState(pos.north())); blockStates.put(pos.south(), worldIn.getBlockState(pos.south())); blockStates.put(pos.east(), worldIn.getBlockState(pos.east())); blockStates.put(pos.west(), worldIn.getBlockState(pos.west())); for(Map.Entry<BlockPos, IBlockState> blockState : blockStates.entrySet()) { Block block = blockState.getValue().getBlock(); if(block instanceof BlockCrops && block != BlockList.weeds && random.nextInt(4) == 0) { worldIn.setBlockState(blockState.getKey(), BlockList.weeds.getDefaultState()); } } } what is that do it like so public void tick(IBlockState state, World worldIn, BlockPos pos, Random random) { super.tick(state, worldIn, pos, random); for (EnumFacing facing : EnumFacing.HORIZONTALS){ BlockPos offSet = pos.offset(facing); IBlockState blockState = worldIn.getBlockState(offSet); Block block = blockState.getBlock(); if(block instanceof BlockCrops && block != BlockList.weeds && random.nextInt(4) == 0) { worldIn.setBlockState(blockState.getKey(), BlockList.weeds.getDefaultState()); } } }
-
[1.12.2] Keep player from entering certain chunks
you need to look at EntityEvent.EnteringChunk. i cant remember, but that event only fires when a entity spawns
-
[1.12.2] Custom Recipes Works On Vanilla Crafting Table
check if the InventoryCrafting is yours
-
Support Spigot
atom is violating the EULA by shipping the minecraft code use sponge
-
not a valid mod
where do you download mods from ? 1Legends is for 1.7.10
-
Forge fix your Launchers so i can play mods (fixed)
try removing optifine
-
[1.13.2] Tile Entity recipe doesn't work
https://github.com/MarioAndWeegee3/SimpleElectrics/blob/master/src/main/java/com/marioandweegee3/simpleelectrics/common/tile_entities/grinder/GrinderTile.java#L286 dont do that, it will create unnecessary objects that needs to be cleaned up and you can not invalidate the cap when the tile gets removed see https://github.com/MinecraftForge/MinecraftForge/blob/1.13.x/src/main/java/net/minecraftforge/common/util/LazyOptional.java#L280-L292 as for your problem use the debugger to find out why it is not working
-
want to set item stack in drag slot
stack.setCount(stack.getCount()-1); use stack.srink(1) (stack.getCount() > 0 && stack.getItem() != Items.AIR) result.getItem() != Items.AIR use !stack.isEmpty() what do you want ??
-
Null pointer after if statement
tyleentity.getStackInSlot(x)!=null||tyleentity.getStackInSlot(x)!= new ItemStack(Items.AIR).EMPTY what is this, use stack.isEmpty and plz format your code it is really hard to read did you ever set itemlist ?
-
Nature's Beauty Keeps crashing
remove optifine
-
[1.13.2] Tile Entity not opening
you override hasTileEntity but not createTileEntity
-
[1.13.2] Tile Entity not opening
for Eclipse https://www.eclipse.org/community/eclipse_newsletter/2017/june/article1.php for idea https://www.jetbrains.com/help/idea/using-breakpoints.html
-
[Forge 1.13.2] Launcher Crashes Immediately
https://github.com/MinecraftForge/MinecraftForge/issues/5735 known
- How to use DAE files for mobs
IPS spam blocked by CleanTalk.
Important Information
By using this site, you agree to our Terms of Use.