Skip to content

Commit

Permalink
fix example
Browse files Browse the repository at this point in the history
  • Loading branch information
brachy84 committed Mar 29, 2024
1 parent 2e7753f commit 4e3427f
Showing 1 changed file with 0 additions and 15 deletions.
15 changes: 0 additions & 15 deletions examples/postInit/vanilla.groovy
Original file line number Diff line number Diff line change
Expand Up @@ -5,21 +5,6 @@ import net.minecraftforge.event.entity.living.EnderTeleportEvent
import net.minecraftforge.event.world.BlockEvent
import net.minecraft.util.text.TextComponentString

import java.time.LocalDate

/*
def time = LocalDate.now()
log.info('{} {}', time.month, time.dayOfMonth)
def f = file('config/groovyscript.cfg')
log.info(f)
log.info(f.text)
f = new File('config/groovyscript.cfg')
log.info(f)
log.info(f.text)
*/

*/
def ore_iron = ore('ingotIron')
def item_iron = item('minecraft:iron_ingot')
log.info(item_iron in ore_iron) // true
Expand Down

0 comments on commit 4e3427f

Please sign in to comment.