Jump to content

RaphGamingz

Members
  • Posts

    57
  • Joined

  • Last visited

Posts posted by RaphGamingz

  1. How do I make an item change into another when it is dropped into water

    Example. Sticks turn to coal

    Do I subscribe to item dropped events

    What other events do I need to subscribe to

    And how can I make it turn to another item 10 seconds later instead of straight away 

  2. Could someone explain these functions and what i should put in it

    @Override
    	public ChunkGenerator<?> createChunkGenerator() {
    		return null;
    	}
    
    	@Override
    	public BlockPos findSpawn(ChunkPos chunkPosIn, boolean checkValid) {
    		return null;
    	}
    
    	@Override
    	public BlockPos findSpawn(int posX, int posZ, boolean checkValid) {
    		return null;
    	}
    
    	@Override
    	public float calculateCelestialAngle(long worldTime, float partialTicks) {
    		return 0;
    	}
    
    	@Override
    	public boolean isSurfaceWorld() {
    		return false;
    	}
    
    	@Override
    	public Vec3d getFogColor(float celestialAngle, float partialTicks) {
    		return null;
    	}
    
    	@Override
    	public boolean canRespawnHere() {
    		return false;
    	}
    
    	@Override
    	public boolean doesXZShowFog(int x, int z) {
    		return false;
    	}

    and how do I add a biome to the dimension

  3.  
     
     
     
     
     
     
     
    40 minutes ago, JMAS said:

    H:\MCModding\forge-1.14.4-28.1.98-mdk

    \main\java\com\JurassicSr\frankenmod\entity\tile\TileEntityAltar.java

    Something seems wrong, why is there 

    41 minutes ago, JMAS said:

    \src\src

    I think NBTTagCompound has changed to CompoundNBT

    and the import for that is: import net.minecraft.nbt.CompoundNBT;

    • Like 1
  4. I am following this Github: https://gist.github.com/Commoble/ac7d7b57c9cbbfcae310c4ab110c3cc0 to make a dimension. I have a few questions:

    How do I teleport a player using the function? What do I put into the parameters? How do I get the dimensionType?

    Is there a simple way to make a simple ChunkGenerator that makes you spawn anywhere above ground?

    How do I make the dimension have a biome?

  5. How are you running the game? 

    With terminal? Or with a launcher.

    You should try using terminal commands

     

    And can you post the code for the config, the error is that there is not enough data available

     

    And when does to game open up to,? The screen where it shows play or the screen where it shows the worlds. The config error comes up when you go into a world I'm pretty sure

  6. 1. Is there a way to find a specific biome in a world and print the coordinates

    Like printing the coordinates of a world to check if a custom biome exists 

     

    2. How do you add a block on the surface of a biome (like generating ores but on the surface) 

     

    Such as putting diamond blocks on a plains biome

  7. On 10/27/2019 at 2:15 PM, Daeruin said:

    My solution is different from what the others are talking about. See Jabelar's tutorial on conditional recipes and follow the link he gives to Choonster's TestMod3 example. It's all laid out there. The basic idea is that you create a class that implements IConditionFactory to return true or false based on some value in your config file. Then you create a _factories file in your recipes folder. Then you add the condition into the recipe's json file.

    This is all for 1.12.2. I haven't looked at newer versions and don't know if it works the same. What version are you working with?

    1.14

     

  8. 7 hours ago, Daeruin said:

    It seem like you could also have two versions of the recipe with conditions that check the config value to determine which recipe to load.

    How do i do the recipe. they are loaded with a json file automatically. Do i write a condition in the file

×
×
  • Create New...

Important Information

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