Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- import crafttweaker.events.IEventManager;
- import crafttweaker.event.BlockHarvestDropsEvent;
- import crafttweaker.item.IItemStack;
- import crafttweaker.item.WeightedItemStack;
- import crafttweaker.block.IBlockPattern;
- import crafttweaker.block.IBlock;
- import crafttweaker.block.IBlockDefinition;
- import crafttweaker.block.IBlockState;
- import crafttweaker.world.IWorld;
- import crafttweaker.entity.IEntity;
- /* import scripts.statics.leafVariants;
- import scripts.statics.grassVariants; */
- import scripts.drops.block_drops_statics as stats;
- events.onBlockHarvestDrops(function(event as BlockHarvestDropsEvent)
- {
- print("player block pos: ");
- for prop in event.world.getBlockState((event.player as IEntity).getBlockPos()).getPropertyNames()
- {
- print(" - "~prop);
- }
- return;
- });
Advertisement
Add Comment
Please, Sign In to add comment