Posted March 9, 20169 yr I'm looking to have a Loot Block spawn ontop of a "Loot Block Spawner". Basically it'll recreate the Loot Block every 10 minutes or so. Any idea what attributes I should add to the class file for either block? For example: itemLootblock.java itemLootblockSpawner.java http://i.imgur.com/vmqyxTE.png[/img]
March 9, 20169 yr well. One way to do it would be to use a TileEntity, that would be counting ticks, and when ticks%20*60*10 spawn ur chest.
March 9, 20169 yr Author I'm looking for the events to physically place the blocks, aswell as the possible integer needed to count the time http://i.imgur.com/vmqyxTE.png[/img]
March 11, 20169 yr Hi I'd suggest using a TileEntity. This sample code does something very similar (MBE20) https://github.com/TheGreyGhost/MinecraftByExample/blob/master/src/main/java/minecraftbyexample/mbe20_tileentity_data/Notes.txt -TGG
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.